summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_constants.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 17:25:12 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 17:25:12 +0000
commitd6336a9e8c15b5f3b0be1da2685fcc471e27fbac (patch)
tree9db441797f9e945735cbbe5a16693ae068972b23 /chrome/common/extensions/extension_constants.cc
parent399c16fa178366fb55aa8e8b5acd313beede6a40 (diff)
downloadchromium_src-d6336a9e8c15b5f3b0be1da2685fcc471e27fbac.zip
chromium_src-d6336a9e8c15b5f3b0be1da2685fcc471e27fbac.tar.gz
chromium_src-d6336a9e8c15b5f3b0be1da2685fcc471e27fbac.tar.bz2
Add privacy_blacklists key to extension manifest and validate it.
This is the first step towards shipping privacy blacklists in extensions. TEST=Covered by unit_tests. BUG=none Review URL: http://codereview.chromium.org/164349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_constants.cc')
-rw-r--r--chrome/common/extensions/extension_constants.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_constants.cc b/chrome/common/extensions/extension_constants.cc
index 7965746..f1b8783 100644
--- a/chrome/common/extensions/extension_constants.cc
+++ b/chrome/common/extensions/extension_constants.cc
@@ -21,6 +21,7 @@ const wchar_t* kPermissions = L"permissions";
const wchar_t* kPlugins = L"plugins";
const wchar_t* kPluginsPath = L"path";
const wchar_t* kPluginsPublic = L"public";
+const wchar_t* kPrivacyBlacklists = L"privacy_blacklists";
const wchar_t* kPublicKey = L"key";
const wchar_t* kRunAt = L"run_at";
const wchar_t* kSignature = L"signature";
@@ -108,6 +109,10 @@ const char* kInvalidPluginsPath =
"Invalid value for 'plugins[*].path'.";
const char* kInvalidPluginsPublic =
"Invalid value for 'plugins[*].public'.";
+const char* kInvalidPrivacyBlacklists =
+ "Invalid value for 'privacy_blacklists'.";
+const char* kInvalidPrivacyBlacklistsPath =
+ "Invalid value for 'privacy_blacklists[*]'.";
const char* kInvalidBackground =
"Invalid value for 'background'.";
const char* kInvalidRunAt =