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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 2352553002: [MD History] Run MD History on chrome://chrome/history. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 30899a53a8e80f8df22ad8feaa40252a50c1c953..9a4e49ec4fbfb0c7b9bfb29f26ba89e61953e44f 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -87,13 +87,8 @@ bool WillHandleBrowserAboutURL(GURL* url,
#else
// Material design history is handled on the top-level chrome://history
// host.
- if (MdHistoryUI::IsEnabled(Profile::FromBrowserContext(browser_context))) {
- host = chrome::kChromeUIHistoryHost;
- path = url->path();
- } else {
- host = chrome::kChromeUIUberHost;
- path = chrome::kChromeUIHistoryHost + url->path();
- }
+ host = chrome::kChromeUIUberHost;
+ path = chrome::kChromeUIHistoryHost + url->path();
#endif
// Redirect chrome://settings, unless MD settings is enabled.
} else if (host == chrome::kChromeUISettingsHost) {
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698