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

Unified Diff: extensions/common/permissions/permissions_data.cc

Issue 241673002: Support a "policy" extension location in extension features files. At the same (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: format Created 6 years, 8 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/common/manifest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/permissions_data.cc
diff --git a/extensions/common/permissions/permissions_data.cc b/extensions/common/permissions/permissions_data.cc
index ca5d3ff6ff2b3aa6af2d8d1563728577715642a8..95dce8ba8f8f4e684e0e1b525b48f7507bdf96fc 100644
--- a/extensions/common/permissions/permissions_data.cc
+++ b/extensions/common/permissions/permissions_data.cc
@@ -134,11 +134,8 @@ bool ParseHelper(Extension* extension,
continue;
}
- Feature::Availability availability = feature->IsAvailableToManifest(
- extension->id(),
- extension->GetType(),
- Feature::ConvertLocation(extension->location()),
- extension->manifest_version());
+ Feature::Availability availability =
+ feature->IsAvailableToExtension(extension);
if (!availability.is_available()) {
// Don't fail, but warn the developer that the manifest contains
« no previous file with comments | « extensions/common/manifest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698