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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review. 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_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 d13091df4c44944c1d72cf4355ce7e978164aa96..58fbb771b7d8f3bd4f0c34b38e1d787ca2af872b 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
@@ -19,7 +19,7 @@
#include "content/public/browser/web_ui_controller.h"
class GURL;
-class PrefService;
+class PrefServiceSyncable;
class Profile;
// The WebContents used for the New Tab page.
@@ -29,7 +29,7 @@ class NewTabUI : public content::WebUIController,
explicit NewTabUI(content::WebUI* web_ui);
virtual ~NewTabUI();
- static void RegisterUserPrefs(PrefService* prefs);
+ static void RegisterUserPrefs(PrefServiceSyncable* prefs);
// Returns whether or not to show apps pages.
static bool ShouldShowApps();

Powered by Google App Engine
This is Rietveld 408576698