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

Side by Side Diff: remoting/protocol/video_reader.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/session.h ('k') | remoting/protocol/video_writer.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // VideoReader is a generic interface for a video stream reader. RtpVideoReader 5 // VideoReader is a generic interface for a video stream reader. RtpVideoReader
6 // and ProtobufVideoReader implement this interface for RTP and protobuf video 6 // and ProtobufVideoReader implement this interface for RTP and protobuf video
7 // streams. VideoReader is used by ConnectionToHost to read video stream. 7 // streams. VideoReader is used by ConnectionToHost to read video stream.
8 8
9 #ifndef REMOTING_PROTOCOL_VIDEO_READER_H_ 9 #ifndef REMOTING_PROTOCOL_VIDEO_READER_H_
10 #define REMOTING_PROTOCOL_VIDEO_READER_H_ 10 #define REMOTING_PROTOCOL_VIDEO_READER_H_
(...skipping 20 matching lines...) Expand all
31 // parameter is set to true on success. 31 // parameter is set to true on success.
32 typedef base::Callback<void(bool)> InitializedCallback; 32 typedef base::Callback<void(bool)> InitializedCallback;
33 33
34 virtual ~VideoReader(); 34 virtual ~VideoReader();
35 35
36 // Initializies the reader. Doesn't take ownership of either |connection| 36 // Initializies the reader. Doesn't take ownership of either |connection|
37 // or |video_stub|. 37 // or |video_stub|.
38 virtual void Init(Session* session, 38 virtual void Init(Session* session,
39 VideoStub* video_stub, 39 VideoStub* video_stub,
40 const InitializedCallback& callback) = 0; 40 const InitializedCallback& callback) = 0;
41 virtual bool is_connected() = 0;
41 42
42 protected: 43 protected:
43 VideoReader() { } 44 VideoReader() { }
44 45
45 private: 46 private:
46 DISALLOW_COPY_AND_ASSIGN(VideoReader); 47 DISALLOW_COPY_AND_ASSIGN(VideoReader);
47 }; 48 };
48 49
49 } // namespace protocol 50 } // namespace protocol
50 } // namespace remoting 51 } // namespace remoting
51 52
52 #endif // REMOTING_PROTOCOL_VIDEO_READER_H_ 53 #endif // REMOTING_PROTOCOL_VIDEO_READER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/session.h ('k') | remoting/protocol/video_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698