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

Unified Diff: remoting/protocol/video_writer.h

Issue 8587053: Remove event_channel() and control_channel() from 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/video_writer.h
diff --git a/remoting/protocol/video_writer.h b/remoting/protocol/video_writer.h
index 8a3c10fc4fc108ec741c71e21956bd3764ce682d..c172eeded165f56dd8c57da1a78fbed7a011a34b 100644
--- a/remoting/protocol/video_writer.h
+++ b/remoting/protocol/video_writer.h
@@ -38,6 +38,9 @@ class VideoWriter : public VideoStub {
// Initializes the writer.
virtual void Init(Session* session, const InitializedCallback& callback) = 0;
+ // Returns true if the channel is connected.
+ virtual bool is_connected() = 0;
Wez 2011/11/21 02:39:04 nit: It seems clearer to put all set/get methods a
Sergey Ulanov 2011/11/21 22:14:22 Done.
+
// Stops writing. Must be called on the network thread before this
// object is destroyed.
virtual void Close() = 0;

Powered by Google App Engine
This is Rietveld 408576698