| Index: chrome/common/extensions/api/extension_api_stub.cc
|
| diff --git a/chrome/common/extensions/api/extension_api_stub.cc b/chrome/common/extensions/api/extension_api_stub.cc
|
| index e739801723451be825cbc6ed5d10e76515e2d128..ab27835cd0b72258c8d2e49213739379b4b4b813 100644
|
| --- a/chrome/common/extensions/api/extension_api_stub.cc
|
| +++ b/chrome/common/extensions/api/extension_api_stub.cc
|
| @@ -7,6 +7,8 @@
|
|
|
| #include "chrome/common/extensions/api/extension_api.h"
|
|
|
| +#include "chrome/common/extensions/features/feature.h"
|
| +
|
| namespace extensions {
|
|
|
| // static
|
| @@ -19,6 +21,24 @@ ExtensionAPI* ExtensionAPI::CreateWithDefaultConfiguration() {
|
| return NULL;
|
| }
|
|
|
| +Feature::Availability ExtensionAPI::IsAvailable(
|
| + const std::string& api_full_name,
|
| + const Extension* extension,
|
| + Feature::Context context,
|
| + const GURL& url) {
|
| + return Feature::CreateAvailability(Feature::NOT_PRESENT, "");
|
| +}
|
| +
|
| +bool ExtensionAPI::IsAnyFeatureAvailableToContext(const std::string& api_name,
|
| + Feature::Context context,
|
| + const GURL& url) {
|
| + return false;
|
| +}
|
| +
|
| +std::set<std::string> ExtensionAPI::GetAllAPINames() {
|
| + return std::set<std::string>();
|
| +}
|
| +
|
| bool ExtensionAPI::IsPrivileged(const std::string& full_name) {
|
| return false;
|
| }
|
|
|