OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHANNEL_DISPATCHER_BASE_H_ | 5 #ifndef REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ |
6 #define REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ | 6 #define REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "remoting/protocol/buffered_socket_writer.h" | 13 #include "remoting/base/buffered_socket_writer.h" |
14 #include "remoting/protocol/errors.h" | 14 #include "remoting/protocol/errors.h" |
15 #include "remoting/protocol/message_reader.h" | 15 #include "remoting/protocol/message_reader.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class StreamSocket; | 18 class StreamSocket; |
19 } // namespace net | 19 } // namespace net |
20 | 20 |
21 namespace remoting { | 21 namespace remoting { |
22 namespace protocol { | 22 namespace protocol { |
23 | 23 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 BufferedSocketWriter writer_; | 77 BufferedSocketWriter writer_; |
78 MessageReader reader_; | 78 MessageReader reader_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(ChannelDispatcherBase); | 80 DISALLOW_COPY_AND_ASSIGN(ChannelDispatcherBase); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace protocol | 83 } // namespace protocol |
84 } // namespace remoting | 84 } // namespace remoting |
85 | 85 |
86 #endif // REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ | 86 #endif // REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ |
OLD | NEW |