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

Unified Diff: chrome/browser/prefs/pref_model_associator.h

Issue 12330008: Get rid of the ability to unregister preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix browser_tests that tested migration in PrefsTabHelper. 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
Index: chrome/browser/prefs/pref_model_associator.h
diff --git a/chrome/browser/prefs/pref_model_associator.h b/chrome/browser/prefs/pref_model_associator.h
index 0787aea97559a45056db87de6fa0075dd9017b39..eb815e3e1fee3863d9d878e3ec76f687acf975cb 100644
--- a/chrome/browser/prefs/pref_model_associator.h
+++ b/chrome/browser/prefs/pref_model_associator.h
@@ -66,10 +66,6 @@ class PrefModelAssociator
// Returns true if the specified preference is registered for syncing.
virtual bool IsPrefRegistered(const char* name);
- // Unregisters a previously registered preference. This must be called
- // prior to making the first sync.
- virtual void UnregisterPref(const char* name);
-
// Process a local preference change. This can trigger new SyncChanges being
// sent to the syncer.
virtual void ProcessPrefChange(const std::string& name);

Powered by Google App Engine
This is Rietveld 408576698