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

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

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.h
diff --git a/chrome/browser/web_resource/promo_resource_service.h b/chrome/browser/web_resource/promo_resource_service.h
index 68d4eb25d71f8a812016f68b22b21867363adf30..0e065d7de5b1752a13a60bbd9c82b611ad73e1d6 100644
--- a/chrome/browser/web_resource/promo_resource_service.h
+++ b/chrome/browser/web_resource/promo_resource_service.h
@@ -10,14 +10,17 @@
#include "base/memory/weak_ptr.h"
#include "chrome/browser/web_resource/web_resource_service.h"
+class NotificationPromo;
+class PrefRegistrySimple;
+class PrefService;
+
namespace base {
class DictionaryValue;
}
-class NotificationPromo;
-class PrefRegistrySimple;
+namespace user_prefs {
class PrefRegistrySyncable;
-class PrefService;
+}
// A PromoResourceService fetches data from a web resource server to be used to
// dynamically change the appearance of the New Tab Page. For example, it has
@@ -26,7 +29,7 @@ class PrefService;
class PromoResourceService : public WebResourceService {
public:
static void RegisterPrefs(PrefRegistrySimple* registry);
- static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
static void MigrateUserPrefs(PrefService* user_prefs);
PromoResourceService();
« no previous file with comments | « chrome/browser/web_resource/notification_promo.cc ('k') | chrome/browser/web_resource/promo_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698