| Index: chrome/common/extensions/api/extension_api.h
|
| diff --git a/chrome/common/extensions/api/extension_api.h b/chrome/common/extensions/api/extension_api.h
|
| index 1486489ccb88ab1c09e4f7229a84da728833868b..6b68fe62772e062e499e8ded9da67edc711378bf 100644
|
| --- a/chrome/common/extensions/api/extension_api.h
|
| +++ b/chrome/common/extensions/api/extension_api.h
|
| @@ -76,6 +76,12 @@ class ExtensionAPI {
|
| Feature::Context context,
|
| const GURL& url);
|
|
|
| + // Determines whether an API, or any parts of that API, are available in
|
| + // |context|.
|
| + Feature::Availability IsPartAvailableToContext(const std::string& api_name,
|
| + Feature::Context context,
|
| + const GURL& url);
|
| +
|
| // Returns true if |name| is a privileged API path. Privileged paths can only
|
| // be called from extension code which is running in its own designated
|
| // extension process. They cannot be called from extension code running in
|
|
|