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

Unified Diff: extensions/common/extension.h

Issue 314113010: Remove deprecated permissions functions from Extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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
« no previous file with comments | « extensions/browser/info_map_unittest.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 1423adb7be57dda3fe1c4ac8c52d560cb201c311..cf5e85ca490988918947d3729c492fac7297c1c4 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;
« no previous file with comments | « extensions/browser/info_map_unittest.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698