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..9db1182b29ac50043398a08fffad0b3b0ca524fa 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h |
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h |
@@ -9,7 +9,8 @@ |
#include "chrome/common/chrome_notification_types.h" |
#include "content/public/browser/web_ui_message_handler.h" |
-class PrefService; |
+class PrefServiceSimple; |
+class PrefServiceSyncable; |
class Profile; |
// Handler for general New Tab Page functionality that does not belong in a |
@@ -19,10 +20,7 @@ class NewTabPageHandler : public content::WebUIMessageHandler { |
NewTabPageHandler(); |
// Register NTP per-profile preferences. |
- static void RegisterUserPrefs(PrefService* prefs); |
- |
- // Register NTP profile-independent preferences. |
- static void RegisterPrefs(PrefService* prefs); |
+ static void RegisterUserPrefs(PrefServiceSyncable* prefs); |
// Registers values (strings etc.) for the page. |
static void GetLocalizedValues(Profile* profile, DictionaryValue* values); |