gecko-dev/modules/libpref
Kris Maglione 82bc4d713f Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm
This is based on the SharedStringMap that's currently used for shared memory
string bundles.

When the parent process is ready to launch its first content process, it
creates a snapshot of the current state of the preference database, maps that
as read-only, and shares it with each content process. Look-ups in the
snapshotted map are done entirely using data in the shared memory region. It
doesn't require any additional per-process state data.

MozReview-Commit-ID: BdTUhak7dmS

--HG--
extra : intermediate-source : 434106f1b75e3ba900912f261bd22a1b7f5c931d
extra : absorb_source : 647ad37590448ad3c1eb8eb512bf671f262fa96e
extra : source : 68bb03c63b3cee1d47cbddfd3abf919f5783c04b
extra : histedit_source : 2228a9f8395929f5072a3c5ebda6ae3221e4a62d
2018-07-01 18:28:31 -07:00
..
init Bug 1475236 - Expiration time for the anti-tracking permission should be controllable via pref, r=ehsan 2018-07-13 19:19:26 +02:00
parser Bug 440908 - Add support for sticky and locked attributes to default prefs. r=glandium 2018-03-02 15:31:40 +11:00
test Backed out 13 changesets (bug 1471025) for reftest failures on variation-format-hint-1a.html; bc failures performance/browser_preferences_usage.js; wpt failures on format-specifiers-variations.html. CLOSED TREE 2018-07-14 01:16:06 +03:00
greprefs.js Bug 1448077 - move DevTools prefs from libpref/init/all.js to devtools/shared;r=jryans 2018-04-06 12:22:53 +02:00
moz.build Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm 2018-07-01 18:28:31 -07:00
nsIPrefBranch.idl Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn 2018-07-04 14:52:48 -07:00
nsIPrefLocalizedString.idl Bug 1409635 (part 2) - Fix up nsIPrefLocalizedString. r=froydnj. 2017-10-18 16:51:56 +11:00
nsIPrefService.idl Backed out 13 changesets (bug 1471025) for reftest failures on variation-format-hint-1a.html; bc failures performance/browser_preferences_usage.js; wpt failures on format-specifiers-variations.html. CLOSED TREE 2018-07-14 01:16:06 +03:00
nsIRelativeFilePref.idl
Preferences.cpp Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm 2018-07-01 18:28:31 -07:00
Preferences.h Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm 2018-07-01 18:28:31 -07:00
SharedPrefMap.cpp Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm 2018-07-01 18:28:31 -07:00
SharedPrefMap.h Bug 1471025: Part 2 - Add a helper class creating and accessing shared preference map snapshots. r=njn,erahm 2018-07-01 18:28:31 -07:00
StaticPrefs.h Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn 2018-06-30 23:06:17 -07:00