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..38dc11cb5e41825e861359a3eff38eff69d93ff9 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,14 +32,13 @@ 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); |
+ *url = GURL(content::kChromeUINativeHistoryURL); |
return true; |
} |