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

Side by Side Diff: remoting/protocol/rtp_video_reader.h

Issue 4313001: Rename classes for Chromoting: (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Resolve merge conflicts Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/protocol_test_client.cc ('k') | remoting/protocol/rtp_video_reader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_RTP_VIDEO_READER_H_ 5 #ifndef REMOTING_PROTOCOL_RTP_VIDEO_READER_H_
6 #define REMOTING_PROTOCOL_RTP_VIDEO_READER_H_ 6 #define REMOTING_PROTOCOL_RTP_VIDEO_READER_H_
7 7
8 #include "remoting/protocol/rtp_reader.h" 8 #include "remoting/protocol/rtp_reader.h"
9 #include "remoting/protocol/video_reader.h" 9 #include "remoting/protocol/video_reader.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 namespace protocol {
14 class Session;
15 } // namespace protocol
16
13 class RtpVideoReader : public VideoReader { 17 class RtpVideoReader : public VideoReader {
14 public: 18 public:
15 RtpVideoReader(); 19 RtpVideoReader();
16 virtual ~RtpVideoReader(); 20 virtual ~RtpVideoReader();
17 21
18 // VideoReader interface. 22 // VideoReader interface.
19 virtual void Init(ChromotocolConnection* connection, VideoStub* video_stub); 23 virtual void Init(protocol::Session* session, VideoStub* video_stub);
20 virtual void Close(); 24 virtual void Close();
21 25
22 private: 26 private:
23 void OnRtpPacket(const RtpPacket& rtp_packet); 27 void OnRtpPacket(const RtpPacket& rtp_packet);
24 28
25 RtpReader rtp_reader_; 29 RtpReader rtp_reader_;
26 30
27 // The stub that processes all received packets. 31 // The stub that processes all received packets.
28 VideoStub* video_stub_; 32 VideoStub* video_stub_;
29 33
30 DISALLOW_COPY_AND_ASSIGN(RtpVideoReader); 34 DISALLOW_COPY_AND_ASSIGN(RtpVideoReader);
31 }; 35 };
32 36
33 } // namespace remoting 37 } // namespace remoting
34 38
35 #endif // REMOTING_PROTOCOL_RTP_VIDEO_READER_H_ 39 #endif // REMOTING_PROTOCOL_RTP_VIDEO_READER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/protocol_test_client.cc ('k') | remoting/protocol/rtp_video_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698