| 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 e5d1026e92d84061def886059e71e231dae637e0..36b56e01a165231a2b9dafaff57fabef65a6ca5f 100644
|
| --- a/content/browser/browser_url_handler_impl.cc
|
| +++ b/content/browser/browser_url_handler_impl.cc
|
| @@ -12,6 +12,7 @@
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/common/url_constants.h"
|
| #include "url/gurl.h"
|
| +#include "url/url_constants.h"
|
|
|
| namespace content {
|
|
|
| @@ -24,13 +25,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,
|
| - kChromeDevToolsScheme,
|
| - kChromeUIScheme,
|
| - kFileScheme,
|
| - kFileSystemScheme
|
| + url::kHttpScheme,
|
| + url::kHttpsScheme,
|
| + kFtpScheme,
|
| + kChromeDevToolsScheme,
|
| + kChromeUIScheme,
|
| + kFileScheme,
|
| + kFileSystemScheme
|
| };
|
|
|
| // Merge all the schemes for which view-source is allowed by default, with
|
|
|