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

Unified Diff: chrome/browser/profiles/profile_keyed_base_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/profiles/profile_keyed_base_factory.cc
diff --git a/chrome/browser/profiles/profile_keyed_base_factory.cc b/chrome/browser/profiles/profile_keyed_base_factory.cc
index 0d57bf6b4de20b0f2611a2a41b24a503e926aaaf..5343e167852777981bb814c07988544b1308f25b 100644
--- a/chrome/browser/profiles/profile_keyed_base_factory.cc
+++ b/chrome/browser/profiles/profile_keyed_base_factory.cc
@@ -74,8 +74,9 @@ void ProfileKeyedBaseFactory::RegisterUserPrefsOnProfile(
registered_preferences_.find(profile);
if (it == registered_preferences_.end()) {
PrefService* prefs = components::UserPrefs::Get(profile);
- PrefRegistrySyncable* registry = static_cast<PrefRegistrySyncable*>(
- prefs->DeprecatedGetPrefRegistry());
+ user_prefs::PrefRegistrySyncable* registry =
+ static_cast<user_prefs::PrefRegistrySyncable*>(
+ prefs->DeprecatedGetPrefRegistry());
RegisterUserPrefs(registry);
registered_preferences_.insert(profile);
}
« no previous file with comments | « chrome/browser/profiles/profile_keyed_base_factory.h ('k') | chrome/browser/renderer_host/pepper/device_id_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698