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

Unified Diff: chrome/browser/web_resource/promo_resource_service.cc

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 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 | « chrome/browser/web_resource/promo_resource_service.h ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2c02f63c4b006eab077b56a379326ded9d7259c1..15108f8e6e7ef852f856522caf41d0827121b3a4 100644
--- a/chrome/browser/web_resource/promo_resource_service.cc
+++ b/chrome/browser/web_resource/promo_resource_service.cc
@@ -68,7 +68,7 @@ void PromoResourceService::RegisterPrefs(PrefRegistrySimple* registry) {
}
// static
-void PromoResourceService::RegisterUserPrefs(
+void PromoResourceService::RegisterProfilePrefs(
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
@@ -76,7 +76,7 @@ void PromoResourceService::RegisterUserPrefs(
prefs::kNtpPromoResourceCacheUpdate,
"0",
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- NotificationPromo::RegisterUserPrefs(registry);
+ NotificationPromo::RegisterProfilePrefs(registry);
}
// static
« no previous file with comments | « chrome/browser/web_resource/promo_resource_service.h ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698