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

Unified Diff: chrome/browser/chrome_to_mobile_service.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Created 8 years 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/chrome_to_mobile_service.cc
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc
index 744153b54edd91f8405f29897b87adbf6e35cb3a..5ccbd8e0c45be8bca2e50580ba6cf27ce5326139 100644
--- a/chrome/browser/chrome_to_mobile_service.cc
+++ b/chrome/browser/chrome_to_mobile_service.cc
@@ -247,9 +247,9 @@ bool ChromeToMobileService::UpdateAndGetCommandState(Browser* browser) {
}
// static
-void ChromeToMobileService::RegisterUserPrefs(PrefService* prefs) {
+void ChromeToMobileService::RegisterUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterListPref(prefs::kChromeToMobileDeviceList,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
ChromeToMobileService::ChromeToMobileService(Profile* profile)

Powered by Google App Engine
This is Rietveld 408576698