diff options
author | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 04:27:37 +0000 |
---|---|---|
committer | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 04:27:37 +0000 |
commit | bc495a181abbd42debc3067b48d3092feec7ccee (patch) | |
tree | b079b740643102b0ebce090b69811cb925c9f2a7 /extensions/common/extension_api.cc | |
parent | f39efb923be05f39f300e2b4aa04afd3d4c0e532 (diff) | |
download | chromium_src-bc495a181abbd42debc3067b48d3092feec7ccee.zip chromium_src-bc495a181abbd42debc3067b48d3092feec7ccee.tar.gz chromium_src-bc495a181abbd42debc3067b48d3092feec7ccee.tar.bz2 |
Clean up TestFeaturesNativeHandler to use the ExtensionsClient's JSON feature sources.
This makes TestFeaturesNativeHandler less Chrome-specific.
Also add more const to FeatureProvider.
Remove common_resources.h from extensions DEPS.
BUG=368334
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/293943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common/extension_api.cc')
-rw-r--r-- | extensions/common/extension_api.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/common/extension_api.cc b/extensions/common/extension_api.cc index f2483b9..4d6b6ec 100644 --- a/extensions/common/extension_api.cc +++ b/extensions/common/extension_api.cc @@ -22,7 +22,6 @@ #include "extensions/common/features/feature_provider.h" #include "extensions/common/permissions/permission_set.h" #include "extensions/common/permissions/permissions_data.h" -#include "grit/common_resources.h" #include "grit/extensions_api_resources.h" #include "ui/base/resource/resource_bundle.h" #include "url/gurl.h" @@ -266,7 +265,7 @@ void ExtensionAPI::RegisterSchemaResource(const std::string& name, } void ExtensionAPI::RegisterDependencyProvider(const std::string& name, - FeatureProvider* provider) { + const FeatureProvider* provider) { dependency_providers_[name] = provider; } |