| Index: chrome/renderer/extensions/api_definitions_natives.h
|
| diff --git a/chrome/renderer/extensions/api_definitions_natives.h b/chrome/renderer/extensions/api_definitions_natives.h
|
| index 45b46b675683677ac9af2433281d995d6505468b..f8801e5ef3cfd4f69ebf1d363c660287280858a3 100644
|
| --- a/chrome/renderer/extensions/api_definitions_natives.h
|
| +++ b/chrome/renderer/extensions/api_definitions_natives.h
|
| @@ -10,12 +10,14 @@
|
|
|
| #include "v8/include/v8.h"
|
|
|
| +class ChromeV8Context;
|
| +
|
| namespace extensions {
|
|
|
| // Native functions for JS to get access to the schemas for extension APIs.
|
| class ApiDefinitionsNatives : public ChromeV8Extension {
|
| public:
|
| - explicit ApiDefinitionsNatives(Dispatcher* dispatcher);
|
| + ApiDefinitionsNatives(Dispatcher* dispatcher, ChromeV8Context* context);
|
|
|
| private:
|
| // Returns the list of schemas that are available to the calling context
|
| @@ -23,6 +25,8 @@ class ApiDefinitionsNatives : public ChromeV8Extension {
|
| // of all schemas that are available to the calling context.
|
| v8::Handle<v8::Value> GetExtensionAPIDefinition(const v8::Arguments& args);
|
|
|
| + ChromeV8Context* context_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ApiDefinitionsNatives);
|
| };
|
|
|
|
|