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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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.h
diff --git a/chrome/browser/web_resource/promo_resource_service.h b/chrome/browser/web_resource/promo_resource_service.h
index e55e59a0ac478b99b5f1aa4340ab5051129b41c1..da54e6594a19236fe37b4485652d8f121dcc5e87 100644
--- a/chrome/browser/web_resource/promo_resource_service.h
+++ b/chrome/browser/web_resource/promo_resource_service.h
@@ -15,7 +15,7 @@ class DictionaryValue;
}
class NotificationPromo;
-class PrefServiceSimple;
+class PrefRegistrarSimple;
class PrefServiceSyncable;
class Profile;
@@ -25,7 +25,8 @@ class Profile;
// promotional messages to certain groups of Chrome users.
class PromoResourceService : public WebResourceService {
public:
- static void RegisterPrefs(PrefServiceSimple* local_state);
+ static void RegisterPrefs(PrefService* local_state,
+ PrefRegistrarSimple* registrar);
static void RegisterUserPrefs(PrefServiceSyncable* prefs);

Powered by Google App Engine
This is Rietveld 408576698