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

Unified Diff: chrome/browser/web_resource/notification_promo.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/web_resource/notification_promo.cc
diff --git a/chrome/browser/web_resource/notification_promo.cc b/chrome/browser/web_resource/notification_promo.cc
index 878d55f0fad3ca4b4d7550bc70bc6fa3c2bb0d8a..b26b0753fa4ea0c0173570b015306b0a004cc545 100644
--- a/chrome/browser/web_resource/notification_promo.cc
+++ b/chrome/browser/web_resource/notification_promo.cc
@@ -316,12 +316,13 @@ void NotificationPromo::RegisterPrefs(PrefRegistrySimple* registry) {
}
// static
-void NotificationPromo::RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void NotificationPromo::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
// TODO(dbeam): Registered only for migration. Remove in M28 when
// we're reasonably sure all prefs are gone.
// http://crbug.com/168887
- registry->RegisterDictionaryPref(kPrefPromoObject,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterDictionaryPref(
+ kPrefPromoObject, user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
// static
« no previous file with comments | « chrome/browser/web_resource/notification_promo.h ('k') | chrome/browser/web_resource/promo_resource_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698