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

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: Address review comments. Fix Clang build and fix bug shown by trybots. Created 7 years, 11 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 22d1ba7ae0317e410e374156e9fb60c2f748fba1..349dabf9bd1db77d7c0c685c8c05804e59a3ce21 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 PrefRegistrySimple;
class PrefServiceSyncable;
// A PromoResourceService fetches data from a web resource server to be used to
@@ -24,7 +24,7 @@ class PrefServiceSyncable;
// promotional messages to certain groups of Chrome users.
class PromoResourceService : public WebResourceService {
public:
- static void RegisterPrefs(PrefServiceSimple* local_state);
+ static void RegisterPrefs(PrefRegistrySimple* registry);
static void RegisterUserPrefs(PrefServiceSyncable* prefs);
PromoResourceService();

Powered by Google App Engine
This is Rietveld 408576698