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

Unified Diff: base/prefs/pref_service.h

Issue 12330008: Get rid of the ability to unregister preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head for commit. 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 | « base/prefs/pref_registry.cc ('k') | base/prefs/pref_service.cc » ('j') | no next file with comments »
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 da2f7d42b4f1e94c45367cb94b91d73710d3ebbe..d9cc8f5f1ce3fe65b792c4d0921476da3f083f48 100644
--- a/base/prefs/pref_service.h
+++ b/base/prefs/pref_service.h
@@ -264,9 +264,6 @@ class BASE_PREFS_EXPORT PrefService : public base::NonThreadSafe {
void AddRegisteredPreference(const char* path,
base::Value* default_value);
- // Updates local caches for a preference unregistered at |path|.
- virtual void RemoveRegisteredPreference(const char* path);
-
// The PrefNotifier handles registering and notifying preference observers.
// It is created and owned by this PrefService. Subclasses may access it for
// unit testing.
« no previous file with comments | « base/prefs/pref_registry.cc ('k') | base/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698