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

Unified Diff: components/browser_context_keyed_service/browser_context_keyed_base_factory.cc

Issue 16625004: components: Move user_prefs into user_prefs namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « components/autofill/browser/personal_data_manager.cc ('k') | components/user_prefs/user_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_context_keyed_service/browser_context_keyed_base_factory.cc
diff --git a/components/browser_context_keyed_service/browser_context_keyed_base_factory.cc b/components/browser_context_keyed_service/browser_context_keyed_base_factory.cc
index 3276f419449acfa4c932cd943dbdcd8e8c306544..8d134f8164e089c3a438ee3e702e6f6cbee2275a 100644
--- a/components/browser_context_keyed_service/browser_context_keyed_base_factory.cc
+++ b/components/browser_context_keyed_service/browser_context_keyed_base_factory.cc
@@ -73,7 +73,7 @@ void BrowserContextKeyedBaseFactory::RegisterUserPrefsOnBrowserContext(
std::set<content::BrowserContext*>::iterator it =
registered_preferences_.find(context);
if (it == registered_preferences_.end()) {
- PrefService* prefs = components::UserPrefs::Get(context);
+ PrefService* prefs = user_prefs::UserPrefs::Get(context);
user_prefs::PrefRegistrySyncable* registry =
static_cast<user_prefs::PrefRegistrySyncable*>(
prefs->DeprecatedGetPrefRegistry());
« no previous file with comments | « components/autofill/browser/personal_data_manager.cc ('k') | components/user_prefs/user_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698