Chromium Code Reviews| 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; |