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

Unified Diff: chrome/browser/web_resource/promo_resource_service.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/promo_resource_service.cc
diff --git a/chrome/browser/web_resource/promo_resource_service.cc b/chrome/browser/web_resource/promo_resource_service.cc
index 037b0074625875908e3a941597ce76bf53d179ac..605c3ac928a067485b60592271478b4e67a045fa 100644
--- a/chrome/browser/web_resource/promo_resource_service.cc
+++ b/chrome/browser/web_resource/promo_resource_service.cc
@@ -68,12 +68,14 @@ void PromoResourceService::RegisterPrefs(PrefRegistrySimple* registry) {
}
// static
-void PromoResourceService::RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void PromoResourceService::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
// TODO(dbeam): This is registered only for migration; remove in M28
// when all prefs have been cleared. http://crbug.com/168887
- registry->RegisterStringPref(prefs::kNtpPromoResourceCacheUpdate,
- "0",
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterStringPref(
+ prefs::kNtpPromoResourceCacheUpdate,
+ "0",
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
NotificationPromo::RegisterUserPrefs(registry);
}
« no previous file with comments | « chrome/browser/web_resource/promo_resource_service.h ('k') | chrome/test/base/testing_pref_service_syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698