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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_ui.h

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to PrefRegistrySyncable and PrefServiceSyncable to let sync know of pre-registered prefs. Created 7 years, 10 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/ui/webui/sync_promo/sync_promo_ui.h
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
index 14392eaddcb24c575fe9aa4b9722cced55793235..05775238a547e1584ce5f1e5d9d9a65e6b665e42 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.h
@@ -8,7 +8,7 @@
#include "content/public/browser/web_ui_controller.h"
class Profile;
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
// The Web UI handler for chrome://signin.
class SyncPromoUI : public content::WebUIController {
@@ -49,7 +49,7 @@ class SyncPromoUI : public content::WebUIController {
static void SetUserSkippedSyncPromo(Profile* profile);
// Registers the preferences the Sync Promo UI needs.
- static void RegisterUserPrefs(PrefServiceSyncable* prefs);
+ static void RegisterUserPrefs(PrefRegistrySyncable* registry);
// Returns the sync promo URL wth the given arguments in the query.
// |next_page| is the URL to navigate to when the user completes or skips the

Powered by Google App Engine
This is Rietveld 408576698