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

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

Issue 4229003: Add VideoReader and VideoWriter interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - 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/message_decoder.h ('k') | remoting/protocol/protobuf_video_reader.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) 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_MESSAGE_READER_H_ 5 #ifndef REMOTING_PROTOCOL_MESSAGE_READER_H_
6 #define REMOTING_PROTOCOL_MESSAGE_READER_H_ 6 #define REMOTING_PROTOCOL_MESSAGE_READER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
13 #include "net/base/io_buffer.h"
13 #include "remoting/protocol/message_decoder.h" 14 #include "remoting/protocol/message_decoder.h"
14 15
15 namespace net { 16 namespace net {
16 class Socket; 17 class Socket;
17 } // namespace net 18 } // namespace net
18 19
19 namespace remoting { 20 namespace remoting {
20 21
21 class ChromotocolConnection; 22 class ChromotocolConnection;
22 class ChromotingClientMessage; 23 class ChromotingClientMessage;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 scoped_refptr<net::IOBuffer> read_buffer_; 100 scoped_refptr<net::IOBuffer> read_buffer_;
100 net::CompletionCallbackImpl<MessageReader> read_callback_; 101 net::CompletionCallbackImpl<MessageReader> read_callback_;
101 102
102 scoped_ptr<Callback2<net::IOBuffer*, int>::Type> data_received_callback_; 103 scoped_ptr<Callback2<net::IOBuffer*, int>::Type> data_received_callback_;
103 scoped_ptr<Callback0::Type> destruction_callback_; 104 scoped_ptr<Callback0::Type> destruction_callback_;
104 }; 105 };
105 106
106 } // namespace remoting 107 } // namespace remoting
107 108
108 #endif // REMOTING_PROTOCOL_MESSAGE_READER_H_ 109 #endif // REMOTING_PROTOCOL_MESSAGE_READER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/message_decoder.h ('k') | remoting/protocol/protobuf_video_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698