Index: extensions/renderer/api_bindings_system.h |
diff --git a/extensions/renderer/api_bindings_system.h b/extensions/renderer/api_bindings_system.h |
index ecea8e904774215d271e0fd71fe5df185dea906c..a21da2e1443bda3065f43decda18feb0d197de84 100644 |
--- a/extensions/renderer/api_bindings_system.h |
+++ b/extensions/renderer/api_bindings_system.h |
@@ -37,7 +37,7 @@ class APIBindingsSystem { |
APIBindingsSystem(const binding::RunJSFunction& call_js, |
const binding::RunJSFunctionSync& call_js_sync, |
const GetAPISchemaMethod& get_api_schema, |
- const APIBinding::SendRequestMethod& send_request, |
+ const APIRequestHandler::SendRequestMethod& send_request, |
const APIEventHandler::EventListenersChangedMethod& |
event_listeners_changed, |
APILastError last_error); |
@@ -106,11 +106,6 @@ class APIBindingsSystem { |
// API. Curried in for testing purposes so we can use fake APIs. |
GetAPISchemaMethod get_api_schema_; |
- // The method to call when a new API call is triggered. Curried in for testing |
- // purposes. Typically, this would send an IPC to the browser to begin the |
- // function work. |
- APIBinding::SendRequestMethod send_request_; |
- |
DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem); |
}; |