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

Unified Diff: chrome/browser/android/ntp/new_tab_page_url_handler.cc

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: merge Created 3 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
Index: chrome/browser/android/ntp/new_tab_page_url_handler.cc
diff --git a/chrome/browser/android/ntp/new_tab_page_url_handler.cc b/chrome/browser/android/ntp/new_tab_page_url_handler.cc
index 18a61b180ee2870a0afb77e99f66e71046f03509..85b3edc275c72b5d77839bd787b40b07c79569e8 100644
--- a/chrome/browser/android/ntp/new_tab_page_url_handler.cc
+++ b/chrome/browser/android/ntp/new_tab_page_url_handler.cc
@@ -35,9 +35,8 @@ bool HandleAndroidNativePageURL(GURL* url,
// TODO(twellington): stop redirecting chrome://history to
// chrome-native://history when M57 is a distant memory.
// See http://crbug.com/654071.
- if (base::FeatureList::IsEnabled(features::kNativeAndroidHistoryManager) &&
- (url->host() == kChromeUIHistoryHost ||
- url->host() == kChromeUIHistoryFrameHost)) {
+ if (url->host() == kChromeUIHistoryHost ||
+ url->host() == kDeprecatedChromeUIHistoryFrameHost) {
*url = GURL(kChromeUINativeHistoryURL);
return true;
}
« no previous file with comments | « chrome/browser/android/data_usage/data_use_ui_tab_model_unittest.cc ('k') | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698