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

Unified Diff: base/prefs/pref_service.h

Issue 511393003: No longer register app window placement preference keys on the fly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make member variables local Created 6 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') | base/prefs/pref_service.cc » ('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 186433c1b62907c16eb3360ca8d567ca2b1a07a6..f5a727a167a5f91bdefa9e2fcaf079bec5d9f2a7 100644
--- a/base/prefs/pref_service.h
+++ b/base/prefs/pref_service.h
@@ -270,6 +270,11 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe {
// implemented in chrome/browser/prefs/browser_prefs.cc.
PrefRegistry* DeprecatedGetPrefRegistry();
+ // This is only to be used to migrate unregistered prefs to become registered.
Bernhard Bauer 2014/09/04 11:06:02 One thing we could do to ensure no one else uses t
dgrogan 2014/09/04 20:26:33 Changed (for this patchset, at least). I don't lik
+ // TODO(dgrogan): Remove after a suitable migration period. See
Bernhard Bauer 2014/09/04 11:06:02 Can you add what a suitable migration period is? (
dgrogan 2014/09/04 20:26:32 Done.
+ // http://crbug.com/167256.
+ scoped_ptr<base::DictionaryValue> GetBrowserDictionary() const;
dgrogan 2014/09/04 00:50:51 This is the ugliest. See browser_ui_prefs.cc for i
+
protected:
// The PrefNotifier handles registering and notifying preference observers.
// It is created and owned by this PrefService. Subclasses may access it for
« no previous file with comments | « no previous file | base/prefs/pref_service.cc » ('j') | base/prefs/pref_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698