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

Unified Diff: mojo/public/cpp/bindings/lib/binding_state.h

Issue 1823683006: Mojo C++ bindings: sync call support for associated interfaces and master interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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: mojo/public/cpp/bindings/lib/binding_state.h
diff --git a/mojo/public/cpp/bindings/lib/binding_state.h b/mojo/public/cpp/bindings/lib/binding_state.h
index feef835be10fa89802fb2558fff4e44faac61fab..b3588da724e81ae2485398e29000fa48e260eea3 100644
--- a/mojo/public/cpp/bindings/lib/binding_state.h
+++ b/mojo/public/cpp/bindings/lib/binding_state.h
@@ -149,7 +149,8 @@ class BindingState<Interface, true> {
endpoint_client_.reset(new internal::InterfaceEndpointClient(
router_->CreateLocalEndpointHandle(internal::kMasterInterfaceId),
- &stub_, make_scoped_ptr(new typename Interface::RequestValidator_())));
+ &stub_, make_scoped_ptr(new typename Interface::RequestValidator_()),
+ Interface::HasSyncMethods_));
endpoint_client_->set_connection_error_handler(
[this]() { connection_error_handler_.Run(); });
« no previous file with comments | « mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h ('k') | mojo/public/cpp/bindings/lib/connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698