Index: chrome/browser/google/google_url_tracker_factory.cc |
diff --git a/chrome/browser/google/google_url_tracker_factory.cc b/chrome/browser/google/google_url_tracker_factory.cc |
index 1908961c3bdf90022b4cdc2c25dec7fe9555bb87..732cdc15627404ea31bebd8ad3565b159b2b39e1 100644 |
--- a/chrome/browser/google/google_url_tracker_factory.cc |
+++ b/chrome/browser/google/google_url_tracker_factory.cc |
@@ -34,11 +34,14 @@ ProfileKeyedService* GoogleURLTrackerFactory::BuildServiceInstanceFor( |
return new GoogleURLTracker(profile, GoogleURLTracker::NORMAL_MODE); |
} |
-void GoogleURLTrackerFactory::RegisterUserPrefs(PrefService* user_prefs) { |
+void GoogleURLTrackerFactory::RegisterUserPrefs( |
+ PrefServiceSyncable* user_prefs) { |
user_prefs->RegisterStringPref(prefs::kLastKnownGoogleURL, |
- GoogleURLTracker::kDefaultGoogleHomepage, PrefService::UNSYNCABLE_PREF); |
- user_prefs->RegisterStringPref(prefs::kLastPromptedGoogleURL, std::string(), |
- PrefService::UNSYNCABLE_PREF); |
+ GoogleURLTracker::kDefaultGoogleHomepage, |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
+ user_prefs->RegisterStringPref(prefs::kLastPromptedGoogleURL, |
+ std::string(), |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
bool GoogleURLTrackerFactory::ServiceRedirectedInIncognito() const { |