| 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 8b07a4535fe010810905f85d140bcf53a2521e64..5cd4f440961a8312af9c25bb8e5d04beba96636c 100644
|
| --- a/chrome/renderer/extensions/chrome_v8_context.h
|
| +++ b/chrome/renderer/extensions/chrome_v8_context.h
|
| @@ -103,6 +103,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 a string description of the type of context this is.
|
| std::string GetContextTypeDescription();
|
|
|
| @@ -115,6 +119,9 @@ 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_;
|
|
|
|
|