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

Unified Diff: chrome/browser/google/google_url_tracker_factory.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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/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 e515ce1f8476514e16cb183c0af5fbe0fd7e4b5a..03880cb500261524325ec3c25e27a5460761a0d9 100644
--- a/chrome/browser/google/google_url_tracker_factory.cc
+++ b/chrome/browser/google/google_url_tracker_factory.cc
@@ -42,13 +42,15 @@ ProfileKeyedService* GoogleURLTrackerFactory::BuildServiceInstanceFor(
}
void GoogleURLTrackerFactory::RegisterUserPrefs(
- PrefRegistrySyncable* user_prefs) {
- user_prefs->RegisterStringPref(prefs::kLastKnownGoogleURL,
- GoogleURLTracker::kDefaultGoogleHomepage,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- user_prefs->RegisterStringPref(prefs::kLastPromptedGoogleURL,
- std::string(),
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ user_prefs::PrefRegistrySyncable* user_prefs) {
+ user_prefs->RegisterStringPref(
+ prefs::kLastKnownGoogleURL,
+ GoogleURLTracker::kDefaultGoogleHomepage,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ user_prefs->RegisterStringPref(
+ prefs::kLastPromptedGoogleURL,
+ std::string(),
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
content::BrowserContext* GoogleURLTrackerFactory::GetBrowserContextToUse(
« no previous file with comments | « chrome/browser/google/google_url_tracker_factory.h ('k') | chrome/browser/managed_mode/managed_user_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698