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

Unified Diff: chrome/common/extensions/extension_constants.cc

Issue 8585020: Enable CSP by default for extensions with manifest_version >= 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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: chrome/common/extensions/extension_constants.cc
===================================================================
--- chrome/common/extensions/extension_constants.cc (revision 110274)
+++ chrome/common/extensions/extension_constants.cc (working copy)
@@ -53,6 +53,7 @@
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 @@
"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 =

Powered by Google App Engine
This is Rietveld 408576698