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

Unified Diff: remoting/protocol/protobuf_video_reader.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/jingle_session_unittest.cc ('k') | remoting/protocol/protobuf_video_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protobuf_video_reader.h
diff --git a/remoting/protocol/protobuf_video_reader.h b/remoting/protocol/protobuf_video_reader.h
index 8bf07b20f2a001b502a2ea33624e0079859b6c19..f6bb55caa85dc46aa051359b48b5107ea364a3ba 100644
--- a/remoting/protocol/protobuf_video_reader.h
+++ b/remoting/protocol/protobuf_video_reader.h
@@ -17,6 +17,7 @@ class StreamSocket;
namespace remoting {
namespace protocol {
+class ChannelFactory;
class Session;
class ProtobufVideoReader : public VideoReader {
@@ -35,13 +36,11 @@ class ProtobufVideoReader : public VideoReader {
void OnNewData(scoped_ptr<VideoPacket> packet,
const base::Closure& done_task);
- Session* session_;
-
InitializedCallback initialized_callback_;
VideoPacketFormat::Encoding encoding_;
- // TODO(sergeyu): Remove |channel_| and let |reader_| own it.
+ ChannelFactory* channel_factory_;
scoped_ptr<net::StreamSocket> channel_;
ProtobufMessageReader<VideoPacket> reader_;
« no previous file with comments | « remoting/protocol/jingle_session_unittest.cc ('k') | remoting/protocol/protobuf_video_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698