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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 33863002: Added pref for snapshot document collapsed state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor Created 7 years, 2 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
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 69b2c86849a157d592113fed8b0d2582c525abf5..df419916f22fcb2152066105d0ab4d03f4fb4d23 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -9,6 +9,9 @@
#include "base/prefs/pref_registry_simple.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/about_flags.h"
+#if defined(OS_ANDROID)
+#include "chrome/browser/android/new_tab_page_prefs.h"
newt (away) 2013/10/30 23:47:51 platform-specific defines should go at the end of
apiccion 2013/11/01 23:30:32 Done.
+#endif
#include "chrome/browser/accessibility/invert_bubble_prefs.h"
#include "chrome/browser/apps/shortcut_manager.h"
#include "chrome/browser/background/background_mode_manager.h"
@@ -360,6 +363,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
TranslatePrefs::RegisterProfilePrefs(registry);
+#if defined(OS_ANDROID)
+ NewTabPagePrefs::RegisterProfilePrefs(registry);
+#endif
+
#if defined(ENABLE_AUTOFILL_DIALOG)
autofill::AutofillDialogController::RegisterProfilePrefs(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698