summaryrefslogtreecommitdiffstats
path: root/extensions/common/manifest_constants.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 05:20:53 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-29 05:20:53 +0000
commit44bab15b645a8dab8d391e212ab8d6976551f4bd (patch)
tree993b9f685b5ab4161486b552869669e578ea499b /extensions/common/manifest_constants.cc
parent1fd496147f651ccbe83ea5dae5e3b06a6ab039d6 (diff)
downloadchromium_src-44bab15b645a8dab8d391e212ab8d6976551f4bd.zip
chromium_src-44bab15b645a8dab8d391e212ab8d6976551f4bd.tar.gz
chromium_src-44bab15b645a8dab8d391e212ab8d6976551f4bd.tar.bz2
Extensions: Make it possible for permission parsing code to return a detailed error message.
BUG=337758 Review URL: https://codereview.chromium.org/141743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/manifest_constants.cc')
-rw-r--r--extensions/common/manifest_constants.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/common/manifest_constants.cc b/extensions/common/manifest_constants.cc
index bfbcc1c..454f5ec 100644
--- a/extensions/common/manifest_constants.cc
+++ b/extensions/common/manifest_constants.cc
@@ -522,6 +522,8 @@ const char kInvalidPageActionsListSize[] =
"Invalid value for 'page_actions'. There can be at most one page action.";
const char kInvalidPageActionTypeValue[] =
"Invalid value for 'page_actions[*].type', expected 'tab' or 'permanent'.";
+const char kInvalidPermissionWithDetail[] =
+ "Invalid value for 'permissions[*]': *.";
const char kInvalidPermission[] =
"Invalid value for 'permissions[*]'.";
const char kInvalidPermissions[] =