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

Unified Diff: remoting/protocol/protobuf_video_writer.h

Issue 10823323: Add support for multiplexed channels in remoting::protocol::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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/protobuf_video_reader.cc ('k') | remoting/protocol/protobuf_video_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protobuf_video_writer.h
diff --git a/remoting/protocol/protobuf_video_writer.h b/remoting/protocol/protobuf_video_writer.h
index 83f551c99ca7c9502cd68f3513cdc6428d4c82a9..9c373170536043b3de2f33153caa7a63d2279f54 100644
--- a/remoting/protocol/protobuf_video_writer.h
+++ b/remoting/protocol/protobuf_video_writer.h
@@ -20,6 +20,7 @@ class StreamSocket;
namespace remoting {
namespace protocol {
+class ChannelFactory;
class Session;
class ProtobufVideoWriter : public VideoWriter {
@@ -41,11 +42,9 @@ class ProtobufVideoWriter : public VideoWriter {
private:
void OnChannelReady(scoped_ptr<net::StreamSocket> socket);
- Session* session_;
-
InitializedCallback initialized_callback_;
- // TODO(sergeyu): Remove |channel_| and let |buffered_writer_| own it.
+ ChannelFactory* channel_factory_;
scoped_ptr<net::StreamSocket> channel_;
BufferedSocketWriter buffered_writer_;
« no previous file with comments | « remoting/protocol/protobuf_video_reader.cc ('k') | remoting/protocol/protobuf_video_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698