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

Unified Diff: content/browser/browser_url_handler_impl.cc

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing files. Created 6 years, 7 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/browser/android/load_url_params.cc ('k') | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_url_handler_impl.cc
diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc
index 21793a17f36cbf40e93335c6a69c90a209c96ef1..e67b51750d7309fa00db172cbdba7e9ea941a736 100644
--- a/content/browser/browser_url_handler_impl.cc
+++ b/content/browser/browser_url_handler_impl.cc
@@ -26,11 +26,11 @@ static bool HandleViewSource(GURL* url, BrowserContext* browser_context) {
static const char* const default_allowed_sub_schemes[] = {
url::kHttpScheme,
url::kHttpsScheme,
- kFtpScheme,
+ url::kFtpScheme,
kChromeDevToolsScheme,
kChromeUIScheme,
- kFileScheme,
- kFileSystemScheme
+ url::kFileScheme,
+ url::kFileSystemScheme
};
// Merge all the schemes for which view-source is allowed by default, with
« no previous file with comments | « content/browser/android/load_url_params.cc ('k') | content/browser/child_process_security_policy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698