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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 70559d3ef37bb1c83be152ea37921c669466050a..47de4d6fa2c8f449783b518c1433432c8be6ab1f 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -438,7 +438,8 @@ void MigrateBrowserPrefs(Profile* profile, PrefService* local_state) {
}
if (!(current_version & GOOGLE_URL_TRACKER_PREFS)) {
- GoogleURLTrackerFactory::GetInstance()->RegisterUserPrefsOnProfile(profile);
+ GoogleURLTrackerFactory::GetInstance()->RegisterUserPrefsOnBrowserContext(
+ profile);
registry->RegisterStringPref(prefs::kLastKnownGoogleURL,
GoogleURLTracker::kDefaultGoogleHomepage);
if (local_state->HasPrefPath(prefs::kLastKnownGoogleURL)) {

Powered by Google App Engine
This is Rietveld 408576698