summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 22:17:43 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 22:17:43 +0000
commitffdb8f8fb2700d836b9a15bba11b885f4e284211 (patch)
treef4b9bd50a949295b9b11a9c79296fcc9f2167ca5 /chrome/common/extensions
parent979102229d38d5beb5771f157d9b25afaee68fb1 (diff)
downloadchromium_src-ffdb8f8fb2700d836b9a15bba11b885f4e284211.zip
chromium_src-ffdb8f8fb2700d836b9a15bba11b885f4e284211.tar.gz
chromium_src-ffdb8f8fb2700d836b9a15bba11b885f4e284211.tar.bz2
Remove unused kDefault permission.
BUG=none TEST=existing Review URL: http://codereview.chromium.org/8637019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions')
-rw-r--r--chrome/common/extensions/extension_permission_set.h3
-rw-r--r--chrome/common/extensions/extension_permission_set_unittest.cc2
2 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/extensions/extension_permission_set.h b/chrome/common/extensions/extension_permission_set.h
index 09e255a..6e9d3b9 100644
--- a/chrome/common/extensions/extension_permission_set.h
+++ b/chrome/common/extensions/extension_permission_set.h
@@ -88,9 +88,6 @@ class ExtensionAPIPermission {
kInvalid = -2,
kUnknown = -1,
- // Default permission that every extension has implicitly.
- kDefault,
-
// Real permissions.
kBackground,
kBookmark,
diff --git a/chrome/common/extensions/extension_permission_set_unittest.cc b/chrome/common/extensions/extension_permission_set_unittest.cc
index aeea1be..4e4577d 100644
--- a/chrome/common/extensions/extension_permission_set_unittest.cc
+++ b/chrome/common/extensions/extension_permission_set_unittest.cc
@@ -603,8 +603,6 @@ TEST(ExtensionPermissionSetTest, PermissionMessages) {
// strings associated with them.
ExtensionAPIPermissionSet skip;
- skip.insert(ExtensionAPIPermission::kDefault);
-
// These are considered "nuisance" or "trivial" permissions that don't need
// a prompt.
skip.insert(ExtensionAPIPermission::kContextMenus);