| 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 83142d02ac130b17a8bbddaf01933c227d81e4f0..323ce77695308eb1dc3f24d9e995fcd2dda7d8e4 100644
|
| --- a/chrome/renderer/extensions/chrome_v8_context.h
|
| +++ b/chrome/renderer/extensions/chrome_v8_context.h
|
| @@ -98,10 +98,7 @@ class ChromeV8Context {
|
| v8::Handle<v8::Value>* argv,
|
| v8::Handle<v8::Value>* result) const;
|
|
|
| - // Returns the set of extension APIs that are available to this context. If no
|
| - // APIs are available, returns an empty set.
|
| - const std::set<std::string>& GetAvailableExtensionAPIs();
|
| -
|
| + // Returns the availability of the API |api_name|.
|
| Feature::Availability GetAvailability(const std::string& api_name);
|
|
|
| // Returns a string description of the type of context this is.
|
| @@ -125,10 +122,6 @@ class ChromeV8Context {
|
| // Owns and structures the JS that is injected to set up extension bindings.
|
| scoped_ptr<ModuleSystem> module_system_;
|
|
|
| - // The extension APIs available to this context.
|
| - std::set<std::string> available_extension_apis_;
|
| - bool available_extension_apis_initialized_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ChromeV8Context);
|
| };
|
|
|
|
|