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

Unified Diff: chrome/common/extensions/manifest.cc

Issue 9978012: Revert 130697 - Reland r130462: Implement FeatureProvider for ExtensionAPI." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « chrome/common/extensions/feature_unittest.cc ('k') | chrome/common/extensions/manifest_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/manifest.cc
===================================================================
--- chrome/common/extensions/manifest.cc (revision 130700)
+++ chrome/common/extensions/manifest.cc (working copy)
@@ -38,7 +38,7 @@
continue;
}
- Feature::Availability result = feature->IsAvailableToManifest(
+ Feature::Availability result = feature->IsAvailable(
extension_id_, GetType(), Feature::ConvertLocation(location_),
GetManifestVersion());
if (result != Feature::IS_AVAILABLE) {
@@ -155,7 +155,7 @@
if (!feature.get())
return false;
- return Feature::IS_AVAILABLE == feature->IsAvailableToManifest(
+ return Feature::IS_AVAILABLE == feature->IsAvailable(
extension_id_, GetType(), Feature::ConvertLocation(location_),
GetManifestVersion());
}
« no previous file with comments | « chrome/common/extensions/feature_unittest.cc ('k') | chrome/common/extensions/manifest_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698