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 a2e8664653639778efeed26e8132bbf21a5ebc67..6a00f8b602c8fd6d9b7f62d286c4926a88b25abe 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h |
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h |
@@ -11,9 +11,12 @@ |
#include "content/public/browser/web_ui_message_handler.h" |
class PrefRegistrySimple; |
-class PrefRegistrySyncable; |
class Profile; |
+namespace user_prefs { |
+class PrefRegistrySyncable; |
+} |
+ |
// Handler for general New Tab Page functionality that does not belong in a |
// more specialized handler. |
class NewTabPageHandler : public content::WebUIMessageHandler, |
@@ -22,7 +25,7 @@ class NewTabPageHandler : public content::WebUIMessageHandler, |
NewTabPageHandler(); |
// Register NTP per-profile preferences. |
- static void RegisterUserPrefs(PrefRegistrySyncable* registry); |
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); |
// Registers values (strings etc.) for the page. |
static void GetLocalizedValues(Profile* profile, DictionaryValue* values); |