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 1c7282cbd9a180ac9576c68f9e3fbeac578ed5ad..b336224a31d7d8fc19dfacbda92e966be42a9a94 100644 |
--- a/chrome/browser/web_resource/promo_resource_service.cc |
+++ b/chrome/browser/web_resource/promo_resource_service.cc |
@@ -10,7 +10,8 @@ |
#include "base/threading/thread_restrictions.h" |
#include "base/values.h" |
#include "chrome/browser/browser_process.h" |
-#include "chrome/browser/prefs/pref_service_simple.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
+#include "chrome/browser/prefs/pref_service.h" |
Mattias Nissler (ping if slow)
2013/01/31 14:50:45
required?
Jói
2013/01/31 16:23:37
Done.
|
#include "chrome/browser/prefs/pref_service_syncable.h" |
#include "chrome/browser/web_resource/notification_promo.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -61,9 +62,9 @@ int GetCacheUpdateDelay() { |
} // namespace |
// static |
-void PromoResourceService::RegisterPrefs(PrefServiceSimple* local_state) { |
- local_state->RegisterStringPref(prefs::kNtpPromoResourceCacheUpdate, "0"); |
- NotificationPromo::RegisterPrefs(local_state); |
+void PromoResourceService::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterStringPref(prefs::kNtpPromoResourceCacheUpdate, "0"); |
+ NotificationPromo::RegisterPrefs(registry); |
} |
// static |