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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_page_handler.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WIP, latest changes from kaiwang@ Created 8 years 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/ntp/new_tab_page_handler.h
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
index 2a580105f5b22f7ac0b3abc787aa9f8fd6cad302..9c08962a0eade088283669e8aa906bc884798422 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
@@ -10,6 +10,7 @@
#include "content/public/browser/web_ui_message_handler.h"
class PrefService;
+class PrefServiceSyncable;
class Profile;
// Handler for general New Tab Page functionality that does not belong in a
@@ -19,7 +20,7 @@ class NewTabPageHandler : public content::WebUIMessageHandler {
NewTabPageHandler();
// Register NTP per-profile preferences.
- static void RegisterUserPrefs(PrefService* prefs);
+ static void RegisterUserPrefs(PrefServiceSyncable* prefs);
// Register NTP profile-independent preferences.
static void RegisterPrefs(PrefService* prefs);

Powered by Google App Engine
This is Rietveld 408576698