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

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

Issue 2280513002: MD History: promote menu button to show clear browsing data in narrow mode (Closed)
Patch Set: !showingSearch_ Created 4 years, 3 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 be216fcf2079c0fce49c8aa56e465bd6e4129126..9abe9e7db81ac18f5a253a6ab911bd003a310f44 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -239,6 +239,10 @@
#include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
#endif
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+#include "chrome/browser/ui/webui/md_history_ui.cc"
+#endif
+
namespace {
#if defined(OS_WIN)
@@ -613,6 +617,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
ash::launcher::RegisterChromeLauncherUserPrefs(registry);
#endif
+#if !defined(OS_ANDROID) && !defined(OS_IOS)
+ MdHistoryUI::RegisterProfilePrefs(registry);
+#endif
+
// Preferences registered only for migration (clearing or moving to a new key)
// go here.
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/crisper.js » ('j') | chrome/browser/ui/webui/md_history_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698