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

Unified Diff: content/browser/browser_url_handler_impl.cc

Issue 149643010: Cleanup: Move kChromeUIScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: 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 10a5c8838f47446d5209c5f1a543a881f7518b8a..4eaf1ec3d69dc9a70bc95c0a86ce250c05a269a8 100644
--- a/content/browser/browser_url_handler_impl.cc
+++ b/content/browser/browser_url_handler_impl.cc
@@ -24,9 +24,13 @@ static bool HandleViewSource(GURL* url, BrowserContext* browser_context) {
// Bug 26129: limit view-source to view the content and not any
// other kind of 'active' url scheme like 'javascript' or 'data'.
static const char* const default_allowed_sub_schemes[] = {
- kHttpScheme, kHttpsScheme, kFtpScheme,
- chrome::kChromeDevToolsScheme, chrome::kChromeUIScheme,
- kFileScheme, kFileSystemScheme
+ kHttpScheme,
+ kHttpsScheme,
+ kFtpScheme,
+ chrome::kChromeDevToolsScheme,
+ kChromeUIScheme,
+ kFileScheme,
+ kFileSystemScheme
};
// Merge all the schemes for which view-source is allowed by default, with
« no previous file with comments | « chrome/utility/importer/bookmarks_file_importer.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