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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 2676893002: [Android History] Fix chrome://history redirect (Closed)
Patch Set: [Android History] Fix chrome://history redirect Created 3 years, 10 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/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index d61b3e7e13069b4fc3b94a6e9a004f86b8d3fdc9..16b1fa07d6c00df9b2a11038d2df08fc637b4eb7 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -20,6 +20,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
#include "components/url_formatter/url_fixer.h"
+#include "content/public/common/content_features.h"
#include "extensions/features/features.h"
#if !defined(OS_ANDROID)
@@ -88,8 +89,7 @@ bool WillHandleBrowserAboutURL(GURL* url,
#if defined(OS_ANDROID)
// TODO(twellington): remove this after native Android history launches.
// See http://crbug.com/654071.
- if (!base::FeatureList::IsEnabled(
- chrome::android::kNativeAndroidHistoryManager)) {
+ if (!base::FeatureList::IsEnabled(features::kNativeAndroidHistoryManager)) {
// On Android, redirect directly to chrome://history-frame since
// uber page is unsupported.
host = chrome::kChromeUIHistoryFrameHost;

Powered by Google App Engine
This is Rietveld 408576698