Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: base/prefs/pref_service.h

Issue 24533002: Added the AutomaticProfileResetter service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final touches on unittests. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/prefs/pref_service.cc » ('j') | chrome/browser/browser_resources.grd » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_service.h
diff --git a/base/prefs/pref_service.h b/base/prefs/pref_service.h
index 757be202d73ef3ee61bed8c5afd3a719787811e2..a0c373538f1255fc8e45786de63c5dcde60cc9b9 100644
--- a/base/prefs/pref_service.h
+++ b/base/prefs/pref_service.h
@@ -231,6 +231,16 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe {
// is passed to the caller.
base::DictionaryValue* GetPreferenceValues() const;
+ // Returns a dictionary with effective preference values. Contrary to
+ // GetPreferenceValues(), the paths of registered preferences are not split on
+ // '.' characters. If a registered preference stores a dictionary, however,
+ // the hierarchical structure inside the preference will be preserved.
+ // For example, if "foo.bar" is a registered preference, the result could look
+ // like this:
+ // {"foo.bar": {"a": {"b": true}}}.
+ // The ownership is passed to the caller.
+ base::DictionaryValue* GetPreferenceValuesWithoutPathExpansion() const;
+
bool ReadOnly() const;
PrefInitializationStatus GetInitializationStatus() const;
« no previous file with comments | « no previous file | base/prefs/pref_service.cc » ('j') | chrome/browser/browser_resources.grd » ('J')

Powered by Google App Engine
This is Rietveld 408576698