diff options
author | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 21:47:26 +0000 |
---|---|---|
committer | rdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 21:47:26 +0000 |
commit | 076ebedaa781461c668ea435ef3af3ca707775d5 (patch) | |
tree | 5189adac73248df281db674fff5ce4c08dda0ce8 /extensions/common/extension.h | |
parent | 4bd4064aede02bd5ae1c0a4b7a01af4830abb47a (diff) | |
download | chromium_src-076ebedaa781461c668ea435ef3af3ca707775d5.zip chromium_src-076ebedaa781461c668ea435ef3af3ca707775d5.tar.gz chromium_src-076ebedaa781461c668ea435ef3af3ca707775d5.tar.bz2 |
Remove deprecated permissions functions from Extension
The methods GetActivePermission() and HasAPIPermission() have been deprecated
for more than a year. Finally remove them.
Also clean up some includes in extension.h, and fix transitive includes.
BUG=379356
TBR=atwilson@chromium.org (c/b/background)
TBR=yurys@chromium.org (c/b/devtools)
TBR=bauerb@chromium.org (c/b/managed_mode)
TBR=dalecurtis@chromium.org (c/b/media)
TBR=dewittj@chromium.org (c/b/notifications)
TBR=msw@chromium.org (c/b/ui)
All TBRs are for strictly mechanical changes - no functional difference.
Review URL: https://codereview.chromium.org/314113010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index 1423adb..cf5e85c 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -23,8 +23,6 @@ #include "extensions/common/extension_resource.h" #include "extensions/common/install_warning.h" #include "extensions/common/manifest.h" -#include "extensions/common/permissions/api_permission.h" -#include "extensions/common/url_pattern.h" #include "extensions/common/url_pattern_set.h" #include "ui/base/accelerators/accelerator.h" #include "ui/gfx/size.h" @@ -43,8 +41,6 @@ class ImageSkia; } namespace extensions { -class APIPermissionSet; -class ManifestPermissionSet; class PermissionSet; class PermissionsData; class PermissionsParser; @@ -250,12 +246,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> { // Returns the base extension url for a given |extension_id|. static GURL GetBaseURLFromExtensionId(const ExtensionId& extension_id); - // DEPRECATED: These methods have been moved to PermissionsData. - // TODO(rdevlin.cronin): remove these once all calls have been updated. - bool HasAPIPermission(APIPermission::ID permission) const; - bool HasAPIPermission(const std::string& permission_name) const; - scoped_refptr<const PermissionSet> GetActivePermissions() const; - // Whether context menu should be shown for page and browser actions. bool ShowConfigureContextMenus() const; |