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 4633522836ea388584fffcb0d65d89ddfafbe033..7d2131257049b8d4f7bb430321db8d796833994c 100644 |
--- a/chrome/browser/android/ntp/new_tab_page_url_handler.cc |
+++ b/chrome/browser/android/ntp/new_tab_page_url_handler.cc |
@@ -9,6 +9,7 @@ |
#include "base/strings/string_util.h" |
#include "chrome/browser/android/chrome_feature_list.h" |
#include "chrome/common/url_constants.h" |
+#include "content/public/common/content_features.h" |
#include "content/public/common/url_constants.h" |
#include "url/gurl.h" |
@@ -31,11 +32,10 @@ bool HandleAndroidNativePageURL(GURL* url, |
return true; |
} |
- // TODO(twellington): stop redirecting chrome://bookmarks to |
- // chrome-native://bookmarks when M57 is a distant memory. |
+ // 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( |
- chrome::android::kNativeAndroidHistoryManager) && |
+ if (base::FeatureList::IsEnabled(features::kNativeAndroidHistoryManager) && |
(url->host() == kChromeUIHistoryHost || |
url->host() == kChromeUIHistoryFrameHost)) { |
*url = GURL(kChromeUINativeHistoryURL); |