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

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: axe more android stuff Created 3 years, 8 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..2acf2e7ffc9a3bf87f14a0657704c7f0d49880e2 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,7 @@ 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 = GURL(kChromeUINativeHistoryURL);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698