summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_constants.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 18:40:31 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-17 18:40:31 +0000
commita47c8a2c90fa802a9408d8f6563e2fcbf6914e70 (patch)
tree8c0f54df881becde4f981fbbe030887867afbced /chrome/common/extensions/extension_constants.cc
parentd8e682015deccd427d67145d17ca6eb78c090674 (diff)
downloadchromium_src-a47c8a2c90fa802a9408d8f6563e2fcbf6914e70.zip
chromium_src-a47c8a2c90fa802a9408d8f6563e2fcbf6914e70.tar.gz
chromium_src-a47c8a2c90fa802a9408d8f6563e2fcbf6914e70.tar.bz2
Enable CSP by default for extensions with manifest_version >= 2.
Review URL: http://codereview.chromium.org/8585020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_constants.cc')
-rw-r--r--chrome/common/extensions/extension_constants.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index b0bb370..85bfd52 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -53,6 +53,7 @@ const char* kLaunchLocalPath = "app.launch.local_path";
const char* kLaunchWebURL = "app.launch.web_url";
const char* kLaunchWidth = "app.launch.width";
const char* kLayouts = "layouts";
+const char* kManifestVersion = "manifest_version";
const char* kMatches = "matches";
const char* kMinimumChromeVersion = "minimum_chrome_version";
const char* kName = "name";
@@ -271,6 +272,8 @@ const char* kInvalidLaunchWidthContainer =
"Invalid container type for 'app.launch.width'.";
const char* kInvalidManifest =
"Manifest file is invalid.";
+const char* kInvalidManifestVersion =
+ "Invalid value for 'manifest_version'.";
const char* kInvalidMatch =
"Invalid value for 'content_scripts[*].matches[*]': *";
const char* kInvalidMatchCount =