| Index: chrome/renderer/extensions/chrome_v8_context.h
|
| diff --git a/chrome/renderer/extensions/chrome_v8_context.h b/chrome/renderer/extensions/chrome_v8_context.h
|
| index b48f4894f2b5d35a510a96c30b381f01175ebbd2..3c967b2dcf3300f17b5fc6ce1eb8e429d31cdb26 100644
|
| --- a/chrome/renderer/extensions/chrome_v8_context.h
|
| +++ b/chrome/renderer/extensions/chrome_v8_context.h
|
| @@ -101,9 +101,10 @@ class ChromeV8Context : public RequestSender::Source {
|
| // Returns the availability of the API |api_name|.
|
| Feature::Availability GetAvailability(const std::string& api_name);
|
|
|
| - // Returns the availability of the API |api_name| without taking into account
|
| - // the context's extension.
|
| - Feature::Availability GetAvailabilityForContext(const std::string& api_name);
|
| + // Returns whether the API |api_name| or any part of the API could be
|
| + // available in this context without taking into account the context's
|
| + // extension.
|
| + bool IsAnyFeatureAvailableToContext(const std::string& api_name);
|
|
|
| // Returns a string description of the type of context this is.
|
| std::string GetContextTypeDescription();
|
| @@ -117,9 +118,6 @@ class ChromeV8Context : public RequestSender::Source {
|
| const std::string& error) OVERRIDE;
|
|
|
| private:
|
| - Feature::Availability GetAvailabilityInternal(const std::string& api_name,
|
| - const Extension* extension);
|
| -
|
| // The v8 context the bindings are accessible to.
|
| ScopedPersistent<v8::Context> v8_context_;
|
|
|
|
|