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

Unified Diff: mojo/public/cpp/bindings/lib/interface_endpoint_client.cc

Issue 1701423002: Mojo C++ bindings: support sync methods - part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « mojo/mojo_public.gyp ('k') | mojo/public/cpp/bindings/lib/message_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
diff --git a/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc b/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
index 79c25b51a05ea28a93e43e64c668286b4b58bda0..0063bff2dd48b30427b5586c70d7121d589e53ca 100644
--- a/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
+++ b/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
@@ -161,6 +161,13 @@ bool InterfaceEndpointClient::AcceptWithResponder(Message* message,
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(message->has_flag(kMessageExpectsResponse));
+ // TODO(yzshen): Sync method call using assoicated interfaces or master
+ // interfaces that serve associated interfaces hasn't been supported yet.
+ if (message->has_flag(kMessageIsSync)) {
+ NOTIMPLEMENTED();
+ return false;
+ }
+
if (encountered_error_)
return false;
« no previous file with comments | « mojo/mojo_public.gyp ('k') | mojo/public/cpp/bindings/lib/message_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698