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

Unified Diff: base/prefs/pref_registry.h

Issue 12315116: Add ability to change default pref values, and use in BrowserInstantController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_registry.cc » ('j') | base/prefs/pref_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_registry.h
diff --git a/base/prefs/pref_registry.h b/base/prefs/pref_registry.h
index 8f39341ce55b2fe9b43f78160e471c5d2a4b9e18..d8380eee28d2b056aafb9b43ba2cc1a219e7376e 100644
--- a/base/prefs/pref_registry.h
+++ b/base/prefs/pref_registry.h
@@ -15,7 +15,6 @@ class Value;
}
class DefaultPrefStore;
-class PrefStore;
// Preferences need to be registered with a type and default value
// before they are used.
@@ -34,11 +33,7 @@ class BASE_PREFS_EXPORT PrefRegistry : public base::RefCounted<PrefRegistry> {
PrefRegistry();
// Gets the registered defaults.
- scoped_refptr<PrefStore> defaults();
-
- // Allows iteration over defaults.
- const_iterator begin() const;
- const_iterator end() const;
+ scoped_refptr<DefaultPrefStore> defaults();
Mattias Nissler (ping if slow) 2013/02/27 10:50:52 I think we should rather not expose the DefaultPre
Jói 2013/02/27 16:30:56 Done.
// Exactly one callback can be set for registration. The callback
// will be invoked each time registration has been performed on this
« no previous file with comments | « no previous file | base/prefs/pref_registry.cc » ('j') | base/prefs/pref_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698