Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(671)

Unified Diff: extensions/renderer/api_bindings_system.h

Issue 2598123002: [Extensions Bindings] Add support for updateArgumentsPreValidate (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/api_bindings_system.h
diff --git a/extensions/renderer/api_bindings_system.h b/extensions/renderer/api_bindings_system.h
index 11833925250f0193c4893f0453f9e9617d5f0cc5..5d5a7b8e0b7ee9f8157fe048447b29b771657163 100644
--- a/extensions/renderer/api_bindings_system.h
+++ b/extensions/renderer/api_bindings_system.h
@@ -49,6 +49,7 @@ class APIBindingsSystem {
base::Callback<void(std::unique_ptr<Request>, v8::Local<v8::Context>)>;
APIBindingsSystem(const binding::RunJSFunction& call_js,
+ const binding::RunJSFunctionSync& call_js_sync,
const GetAPISchemaMethod& get_api_schema,
const SendRequestMethod& send_request);
~APIBindingsSystem();
@@ -112,6 +113,8 @@ class APIBindingsSystem {
binding::RunJSFunction call_js_;
+ binding::RunJSFunctionSync call_js_sync_;
+
// The method to retrieve the DictionaryValue describing a given extension
// API. Curried in for testing purposes so we can use fake APIs.
GetAPISchemaMethod get_api_schema_;

Powered by Google App Engine
This is Rietveld 408576698