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

Unified Diff: chrome/browser/ui/chrome_pages.h

Issue 2027813003: [MD Settings] Add feature to enable md-settings by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/browser_about_handler.cc ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/chrome_pages.h
diff --git a/chrome/browser/ui/chrome_pages.h b/chrome/browser/ui/chrome_pages.h
index 8e3470bb4853c7bd0bbe157aae106c56d2acee98..a2ff6b5c7205e9faef36b76d98fbdf5075cece2e 100644
--- a/chrome/browser/ui/chrome_pages.h
+++ b/chrome/browser/ui/chrome_pages.h
@@ -57,6 +57,14 @@ void ShowHelpForProfile(Profile* profile, HelpSource source);
void ShowPolicy(Browser* browser);
void ShowSlow(Browser* browser);
+// For the transition to Material Design settings, Chrome needs to temporarily
+// support two different settings pages - "legacy" and "MD Settings". Depending
+// on a feature flag, chrome://settings will point to one of them, while the
+// other one is reachable via chrome://legacy-settings and chrome://md-settings,
+// respectively.
+std::string GetLegacySettingsHost();
+std::string GetMdSettingsHost();
+
// Constructs a settings GURL for the specified |sub_page|.
GURL GetSettingsUrl(const std::string& sub_page);
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/ui/chrome_pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698