| 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" | |
| 11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "remoting/base/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 remoting { | 17 namespace remoting { |
| 18 namespace protocol { | 18 namespace protocol { |
| 19 | 19 |
| 20 class StreamChannelFactory; | 20 class StreamChannelFactory; |
| 21 | 21 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 BufferedSocketWriter writer_; | 69 BufferedSocketWriter writer_; |
| 70 MessageReader reader_; | 70 MessageReader reader_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(ChannelDispatcherBase); | 72 DISALLOW_COPY_AND_ASSIGN(ChannelDispatcherBase); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace protocol | 75 } // namespace protocol |
| 76 } // namespace remoting | 76 } // namespace remoting |
| 77 | 77 |
| 78 #endif // REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ | 78 #endif // REMOTING_PROTOCOL_CHANNEL_DISPATCHER_BASE_H_ |
| OLD | NEW |