| 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 943217dca568967b372b466aedea28874a12d858..b1aa0cb14a8add24e204e7446f430fd13906d20e 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|.
|
| + bool IsAnyFeatureAvailableToContext(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
|
|
|