summaryrefslogtreecommitdiffstats
path: root/extensions/common/csp_validator.cc
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 09:44:24 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 09:44:24 +0000
commitfb4fe095b612f8039e63c62cc87bfeacb5966cde (patch)
treed8ffb6f6d0dcd0710c18535cb3bba7422fe43ca2 /extensions/common/csp_validator.cc
parent46e8bf650a4625a34a7b5ba76db7c3716f1a2f1d (diff)
downloadchromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.zip
chromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.tar.gz
chromium_src-fb4fe095b612f8039e63c62cc87bfeacb5966cde.tar.bz2
Move kStandardSchemeSeparator from //content to //url
This constant is used in code shared by iOS, and is general enough to be placed in //url. TBR=benm,yoz Review URL: https://codereview.chromium.org/319613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/csp_validator.cc')
-rw-r--r--extensions/common/csp_validator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/common/csp_validator.cc b/extensions/common/csp_validator.cc
index 94f880e..73a508c 100644
--- a/extensions/common/csp_validator.cc
+++ b/extensions/common/csp_validator.cc
@@ -75,7 +75,7 @@ bool HasOnlySecureTokens(base::StringTokenizer& tokenizer,
StartsWithASCII(source, "chrome://", true) ||
StartsWithASCII(source,
std::string(extensions::kExtensionScheme) +
- content::kStandardSchemeSeparator,
+ url::kStandardSchemeSeparator,
true) ||
StartsWithASCII(source, "chrome-extension-resource:", true)) {
continue;