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

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

Issue 2646853003: Mojo C++ bindings: Simplify associated interface API. (Closed)
Patch Set: . Created 3 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
Index: mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc
diff --git a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc
index 30daac7f825ec1945b43b233473f0af9024da342..701108e1637cb7dd40e66fb6d7ade1c38301bf4d 100644
--- a/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc
+++ b/mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc
@@ -48,20 +48,6 @@ void PipeControlMessageProxy::NotifyPeerEndpointClosed(
ALLOW_UNUSED_LOCAL(ok);
}
-void PipeControlMessageProxy::NotifyEndpointClosedBeforeSent(InterfaceId id) {
- DCHECK(!IsMasterInterfaceId(id));
-
- auto event = pipe_control::AssociatedEndpointClosedBeforeSentEvent::New();
- event->id = id;
-
- auto input = pipe_control::RunOrClosePipeInput::New();
- input->set_associated_endpoint_closed_before_sent_event(std::move(event));
-
- Message message(ConstructRunOrClosePipeMessage(std::move(input)));
- bool ok = receiver_->Accept(&message);
- ALLOW_UNUSED_LOCAL(ok);
-}
-
// static
Message PipeControlMessageProxy::ConstructPeerEndpointClosedMessage(
InterfaceId id,

Powered by Google App Engine
This is Rietveld 408576698