This source file includes following definitions.
- GetSharedInstance
- CreateWithDefaultConfiguration
- IsAvailable
- IsAvailable
- IsAnyFeatureAvailableToContext
- IsPrivileged
- GetSchema
#include "extensions/common/extension_api.h"
#include "extensions/common/features/feature.h"
namespace extensions {
ExtensionAPI* ExtensionAPI::GetSharedInstance() {
return NULL;
}
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, "");
}
Feature::Availability ExtensionAPI::IsAvailable(
const Feature& api,
const Extension* extension,
Feature::Context context,
const GURL& url) {
return Feature::CreateAvailability(Feature::NOT_PRESENT, "");
}
bool ExtensionAPI::IsAnyFeatureAvailableToContext(const Feature& api,
const Extension* extension,
Feature::Context context,
const GURL& url) {
return false;
}
bool ExtensionAPI::IsPrivileged(const std::string& full_name) {
return false;
}
const base::DictionaryValue* ExtensionAPI::GetSchema(
const std::string& full_name) {
return NULL;
}
}