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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_ui.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
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_page_handler.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/new_tab_ui.h
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h
index 86055acbef931861143cbe7a37e881e78df7e664..644430a567aa8099ffcbb6045ec66cdd6af77a45 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
@@ -17,13 +17,16 @@
#include "content/public/browser/web_ui_controller.h"
class GURL;
-class PrefRegistrySyncable;
class Profile;
namespace base {
class DictionaryValue;
}
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
// The WebUIController used for the New Tab page.
class NewTabUI : public content::WebUIController,
public content::NotificationObserver {
@@ -31,7 +34,7 @@ class NewTabUI : public content::WebUIController,
explicit NewTabUI(content::WebUI* web_ui);
virtual ~NewTabUI();
- static void RegisterUserPrefs(PrefRegistrySyncable* registry);
+ static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);
// Returns whether or not to show apps pages.
static bool ShouldShowApps();
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_page_handler.cc ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698