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

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
Index: remoting/protocol/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index e0a91a00585a7b3a1ee1ab48c1857ca8de7fbc2c..1bbac41d58bfcbfad67b3c2a5a4753329d4ad1e4 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -90,6 +90,12 @@ class Session : public base::NonThreadSafe {
virtual void CreateDatagramChannel(
const std::string& name, const DatagramChannelCallback& callback) = 0;
+ // Cancels creation of the channel |name| for previous
+ // CreateStreamChannel() and CreateDatagramChannel() calls. Can be
Wez 2011/11/15 22:29:13 Wording is a little confusing. I'd suggest: "Can
Sergey Ulanov 2011/11/16 00:01:33 Done. Thanks for suggestion.
+ // called to cancel channel creation before it is finished. Call is
+ // no-op if the channel is not being created.
+ virtual void CancelChannelCreation(const std::string& name) = 0;
+
// TODO(sergeyu): Remove these methods, and use CreateChannel()
// instead.
virtual net::Socket* control_channel() = 0;
« remoting/protocol/rtp_video_writer.cc ('K') | « remoting/protocol/rtp_video_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698