| Index: extensions/renderer/api_bindings_system.h
|
| diff --git a/extensions/renderer/api_bindings_system.h b/extensions/renderer/api_bindings_system.h
|
| index 1b32dfb41829e8968005b017423568ee6e115cb5..c42558f54293186ffe76149d27be27d7e73761f0 100644
|
| --- a/extensions/renderer/api_bindings_system.h
|
| +++ b/extensions/renderer/api_bindings_system.h
|
| @@ -44,6 +44,7 @@ class APIBindingsSystem {
|
| APIBindingsSystem(const binding::RunJSFunction& call_js,
|
| const binding::RunJSFunctionSync& call_js_sync,
|
| const GetAPISchemaMethod& get_api_schema,
|
| + const APIBinding::AvailabilityCallback& is_available,
|
| const APIRequestHandler::SendRequestMethod& send_request,
|
| const APIEventHandler::EventListenersChangedMethod&
|
| event_listeners_changed,
|
| @@ -54,7 +55,6 @@ class APIBindingsSystem {
|
| v8::Local<v8::Object> CreateAPIInstance(
|
| const std::string& api_name,
|
| v8::Local<v8::Context> context,
|
| - const APIBinding::AvailabilityCallback& is_available,
|
| APIBindingHooks** hooks_out);
|
|
|
| // Responds to the request with the given |request_id|, calling the callback
|
| @@ -135,6 +135,8 @@ class APIBindingsSystem {
|
| // API. Curried in for testing purposes so we can use fake APIs.
|
| GetAPISchemaMethod get_api_schema_;
|
|
|
| + APIBinding::AvailabilityCallback is_available_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem);
|
| };
|
|
|
|
|