diff options
author | David Garcia Quintas <dgq@google.com> | 2015-07-13 13:38:18 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-07-13 13:38:18 -0700 |
commit | 6a3cf974f7f4cbc60f25a314bdde2687a4bbafa2 (patch) | |
tree | 2a3eb13c1f8a6a74d7db1d4fea8e7fcf489dfcf0 /test | |
parent | 4d0b7427faecfdbb1635c2ab158c922d7511b865 (diff) |
Added WriteOptions for per-message flags and modified CallOps to use it.
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/end2end/mock_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/cpp/end2end/mock_test.cc b/test/cpp/end2end/mock_test.cc index 2809ab8d3c..59a8edf509 100644 --- a/test/cpp/end2end/mock_test.cc +++ b/test/cpp/end2end/mock_test.cc @@ -86,7 +86,9 @@ class MockClientReaderWriter<EchoRequest, EchoResponse> GRPC_FINAL msg->set_message(last_message_); return true; } - bool Write(const EchoRequest& msg) GRPC_OVERRIDE { + + bool Write(const EchoRequest& msg, + const WriteOptions& options) GRPC_OVERRIDE { gpr_log(GPR_INFO, "mock recv msg %s", msg.message().c_str()); last_message_ = msg.message(); return true; |