Index: remoting/protocol/session.h |
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h |
index e0a91a00585a7b3a1ee1ab48c1857ca8de7fbc2c..32e2de9ed4dda9c3b8ba1f038cacaec1c7e3b84e 100644 |
--- a/remoting/protocol/session.h |
+++ b/remoting/protocol/session.h |
@@ -90,6 +90,11 @@ class Session : public base::NonThreadSafe { |
virtual void CreateDatagramChannel( |
const std::string& name, const DatagramChannelCallback& callback) = 0; |
+ // Cancels a pending CreateStreamChannel() or CreateDatagramChannel() |
+ // operation for the named channel. If the channel creation already |
+ // completed then cancelling it has no effect. |
+ virtual void CancelChannelCreation(const std::string& name) = 0; |
+ |
// TODO(sergeyu): Remove these methods, and use CreateChannel() |
// instead. |
virtual net::Socket* control_channel() = 0; |