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

Unified Diff: chrome/browser/web_resource/notification_promo.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/notification_promo.h
diff --git a/chrome/browser/web_resource/notification_promo.h b/chrome/browser/web_resource/notification_promo.h
index f92eb1d4bef41c7a2b0abbef196d5cdba8a49568..bde22d65d4afca1f41ab957d27294c8b7aa8b2f7 100644
--- a/chrome/browser/web_resource/notification_promo.h
+++ b/chrome/browser/web_resource/notification_promo.h
@@ -13,14 +13,17 @@
#include "base/memory/scoped_ptr.h"
#include "googleurl/src/gurl.h"
+class PrefRegistrySimple;
+class PrefService;
+
namespace base {
class DictionaryValue;
class ListValue;
}
-class PrefRegistrySimple;
-class PrefService;
+namespace user_prefs {
class PrefRegistrySyncable;
+}
// Helper class for PromoResourceService that parses promo notification info
// from json or prefs.
@@ -67,7 +70,7 @@ class NotificationPromo {
// Register preferences.
static void RegisterPrefs(PrefRegistrySimple* registry);
- static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
static void MigrateUserPrefs(PrefService* user_prefs);
private:
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc ('k') | chrome/browser/web_resource/notification_promo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698