Closed
Bug 528430
Opened 15 years ago
Closed 15 years ago
Add a directory provider so we can customize the cache folder at runtime
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
fennec1.0
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
Attachments
(1 file)
7.13 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
For Maemo, the N8xx has a large partition on /media/mmc2, while the N900 has a large /home partition (where we store the profile). We can't use preprocessed preferences to switch these at build time. This patch adds a directory service provider that checks the hardware at runtime and supplies the best folder location for the main cache and the offline cache. It defaults to the profile folder for unknown hardware. (I also use this chance to make all JS components use the same naming convention, which appears to be no leading 'ns' and leading uppercase)
Attachment #412145 -
Flags: review?(bugmail)
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → mark.finkle
Comment 1•15 years ago
|
||
seems like this could be useful for products other than Fennec, why not implement this in the platform?
Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1) > seems like this could be useful for products other than Fennec, why not > implement this in the platform? I think this is too Fennec specific to be in the platform itself. If we were going to put it in the platform, I don't think it would be a directory service provider. It would just be in the CacheService code. The differences in location based on hardware are too fickle for the platform, IMO. This seems perfect for an application-level dir provider.
Updated•15 years ago
|
Attachment #412145 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 3•15 years ago
|
||
pushed: https://hg.mozilla.org/mobile-browser/rev/92006c81c46f
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Post-B5
Updated•11 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•