Index: mojo/public/cpp/bindings/lib/connector.h |
diff --git a/mojo/public/cpp/bindings/lib/connector.h b/mojo/public/cpp/bindings/lib/connector.h |
index f32a170c39158c186fe3f278f273b2e19ab208c5..6e9c1b9deb97c563d149ba38370218a6b3dc5b18 100644 |
--- a/mojo/public/cpp/bindings/lib/connector.h |
+++ b/mojo/public/cpp/bindings/lib/connector.h |
@@ -53,9 +53,14 @@ class Connector : public MessageReceiver { |
// waiting to read from the pipe. |
bool encountered_error() const { return error_; } |
- // Closes the pipe, triggering the error state. |
+ // Closes the pipe, triggering the error state. Connector is put into a |
+ // quiescent state. |
void CloseMessagePipe(); |
+ // Releases the pipe, not triggering the error state. Connector is put into |
+ // a quiescent state. |
+ ScopedMessagePipeHandle ReleaseMessagePipe(); |
+ |
// MessageReceiver implementation: |
virtual bool Accept(Message* message) MOJO_OVERRIDE; |
virtual bool AcceptWithResponder(Message* message, MessageReceiver* responder) |