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

Unified Diff: content/public/common/url_constants.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
« no previous file with comments | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/url_constants.cc
diff --git a/content/public/common/url_constants.cc b/content/public/common/url_constants.cc
index 3da37dcd803b674bcded4078c64f7eeb61467d16..ff514a056163fa3e59bb68310c2b8c474013e018 100644
--- a/content/public/common/url_constants.cc
+++ b/content/public/common/url_constants.cc
@@ -16,6 +16,9 @@ const char kViewSourceScheme[] = "view-source";
#if defined(OS_CHROMEOS)
const char kExternalFileScheme[] = "externalfile";
#endif
+#if defined(OS_ANDROID)
+const char kChromeNativeUIScheme[] = "chrome-native";
+#endif
const char kAboutSrcDocURL[] = "about:srcdoc";
@@ -28,6 +31,9 @@ const char kChromeUIDinoHost[] = "dino";
const char kChromeUIGpuHost[] = "gpu";
const char kChromeUIHistogramHost[] = "histograms";
const char kChromeUIHistoryHost[] = "history";
+#if defined(OS_ANDROID)
+const char kChromeUIHistoryFrameHost[] = "history-frame";
+#endif
const char kChromeUIMediaInternalsHost[] = "media-internals";
const char kChromeUIMemoryExhaustHost[] = "memory-exhaust";
const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
@@ -64,4 +70,9 @@ const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
const char kChromeUIResourcesURL[] = "chrome://resources/";
const char kChromeUIShorthangURL[] = "chrome://shorthang/";
+#if defined(OS_ANDROID)
+const char kChromeUIHistoryURL[] = "chrome://history/";
Dan Beam 2017/03/14 05:41:55 why do we need the chrome/common/url_constants.h v
Theresa 2017/03/14 15:05:50 We probably don't. There are a number of duplicate
+const char kChromeUINativeHistoryURL[] = "chrome-native://history/";
+#endif
+
} // namespace content
« no previous file with comments | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698