summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/api_definitions_natives.cc
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-07 20:44:41 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-07 20:44:41 +0000
commit276f05aa5fc98df61d947ccaf7480bca9c021730 (patch)
tree39f71a9d3ea8be562d942b702172e5e6b6c56433 /chrome/renderer/extensions/api_definitions_natives.cc
parentc6176da0f310db393db5f02269f2e83cbe17aacf (diff)
downloadchromium_src-276f05aa5fc98df61d947ccaf7480bca9c021730.zip
chromium_src-276f05aa5fc98df61d947ccaf7480bca9c021730.tar.gz
chromium_src-276f05aa5fc98df61d947ccaf7480bca9c021730.tar.bz2
Add FeatureProvider::GetAPIFeatures, GetManifestFeatures, and
GetPermissionFeatures as shortcuts for FeatureProvider::GetByName. R=yoz@chromium.org Review URL: https://codereview.chromium.org/25943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/api_definitions_natives.cc')
-rw-r--r--chrome/renderer/extensions/api_definitions_natives.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/api_definitions_natives.cc b/chrome/renderer/extensions/api_definitions_natives.cc
index 316daaa..37dc415 100644
--- a/chrome/renderer/extensions/api_definitions_natives.cc
+++ b/chrome/renderer/extensions/api_definitions_natives.cc
@@ -23,7 +23,7 @@ ApiDefinitionsNatives::ApiDefinitionsNatives(Dispatcher* dispatcher,
void ApiDefinitionsNatives::GetExtensionAPIDefinitionsForTest(
const v8::FunctionCallbackInfo<v8::Value>& args) {
std::vector<std::string> apis;
- FeatureProvider* feature_provider = FeatureProvider::GetByName("api");
+ FeatureProvider* feature_provider = FeatureProvider::GetAPIFeatures();
const std::vector<std::string>& feature_names =
feature_provider->GetAllFeatureNames();
for (std::vector<std::string>::const_iterator i = feature_names.begin();