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_MULTIPLEXER_H_ | 5 #ifndef REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ |
6 #define REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ | 6 #define REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "remoting/base/buffered_socket_writer.h" | 10 #include "remoting/base/buffered_socket_writer.h" |
10 #include "remoting/proto/mux.pb.h" | 11 #include "remoting/proto/mux.pb.h" |
11 #include "remoting/protocol/message_reader.h" | 12 #include "remoting/protocol/message_reader.h" |
12 #include "remoting/protocol/protobuf_message_parser.h" | 13 #include "remoting/protocol/protobuf_message_parser.h" |
13 #include "remoting/protocol/stream_channel_factory.h" | 14 #include "remoting/protocol/stream_channel_factory.h" |
14 | 15 |
15 namespace remoting { | 16 namespace remoting { |
16 namespace protocol { | 17 namespace protocol { |
17 | 18 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 base::WeakPtrFactory<ChannelMultiplexer> weak_factory_; | 87 base::WeakPtrFactory<ChannelMultiplexer> weak_factory_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(ChannelMultiplexer); | 89 DISALLOW_COPY_AND_ASSIGN(ChannelMultiplexer); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace protocol | 92 } // namespace protocol |
92 } // namespace remoting | 93 } // namespace remoting |
93 | 94 |
94 | 95 |
95 #endif // REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ | 96 #endif // REMOTING_PROTOCOL_CHANNEL_MULTIPLEXER_H_ |
OLD | NEW |