OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CONNECTION_TO_CLIENT_H_ | 5 #ifndef REMOTING_PROTOCOL_FAKE_CONNECTION_TO_CLIENT_H_ |
6 #define REMOTING_PROTOCOL_FAKE_CONNECTION_TO_CLIENT_H_ | 6 #define REMOTING_PROTOCOL_FAKE_CONNECTION_TO_CLIENT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "remoting/protocol/connection_to_client.h" | 13 #include "remoting/protocol/connection_to_client.h" |
12 #include "remoting/protocol/video_stream.h" | 14 #include "remoting/protocol/video_stream.h" |
13 | 15 |
14 namespace remoting { | 16 namespace remoting { |
15 namespace protocol { | 17 namespace protocol { |
16 | 18 |
17 class FakeVideoStream : public protocol::VideoStream { | 19 class FakeVideoStream : public protocol::VideoStream { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool is_connected_ = true; | 92 bool is_connected_ = true; |
91 ErrorCode disconnect_error_ = OK; | 93 ErrorCode disconnect_error_ = OK; |
92 | 94 |
93 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToClient); | 95 DISALLOW_COPY_AND_ASSIGN(FakeConnectionToClient); |
94 }; | 96 }; |
95 | 97 |
96 } // namespace protocol | 98 } // namespace protocol |
97 } // namespace remoting | 99 } // namespace remoting |
98 | 100 |
99 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_CLIENT_H_ | 101 #endif // REMOTING_PROTOCOL_FAKE_CONNECTION_TO_CLIENT_H_ |
OLD | NEW |