| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FAKE_STREAM_SOCKET_H_ | 5 #ifndef REMOTING_PROTOCOL_FAKE_STREAM_SOCKET_H_ |
| 6 #define REMOTING_PROTOCOL_FAKE_STREAM_SOCKET_H_ | 6 #define REMOTING_PROTOCOL_FAKE_STREAM_SOCKET_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "net/base/completion_callback.h" | 14 #include "net/base/completion_callback.h" |
| 14 #include "remoting/protocol/p2p_stream_socket.h" | 15 #include "remoting/protocol/p2p_stream_socket.h" |
| 15 #include "remoting/protocol/stream_channel_factory.h" | 16 #include "remoting/protocol/stream_channel_factory.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
| 19 } | 20 } |
| 20 | 21 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 base::WeakPtr<FakeStreamChannelFactory> peer_factory_; | 143 base::WeakPtr<FakeStreamChannelFactory> peer_factory_; |
| 143 base::WeakPtrFactory<FakeStreamChannelFactory> weak_factory_; | 144 base::WeakPtrFactory<FakeStreamChannelFactory> weak_factory_; |
| 144 | 145 |
| 145 DISALLOW_COPY_AND_ASSIGN(FakeStreamChannelFactory); | 146 DISALLOW_COPY_AND_ASSIGN(FakeStreamChannelFactory); |
| 146 }; | 147 }; |
| 147 | 148 |
| 148 } // namespace protocol | 149 } // namespace protocol |
| 149 } // namespace remoting | 150 } // namespace remoting |
| 150 | 151 |
| 151 #endif // REMOTING_PROTOCOL_FAKE_STREAM_SOCKET_H_ | 152 #endif // REMOTING_PROTOCOL_FAKE_STREAM_SOCKET_H_ |
| OLD | NEW |