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

Unified Diff: remoting/protocol/session.h

Issue 8573013: Add CancelChannelCreation() in protocol::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 1 month 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 | « remoting/protocol/rtp_video_writer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698