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_PROTOCOL_MOCK_OBJECTS_H_ | 5 #ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 6 #define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "remoting/protocol/clipboard_stub.h" | 24 #include "remoting/protocol/clipboard_stub.h" |
25 #include "remoting/protocol/connection_to_client.h" | 25 #include "remoting/protocol/connection_to_client.h" |
26 #include "remoting/protocol/host_stub.h" | 26 #include "remoting/protocol/host_stub.h" |
27 #include "remoting/protocol/input_stub.h" | 27 #include "remoting/protocol/input_stub.h" |
28 #include "remoting/protocol/pairing_registry.h" | 28 #include "remoting/protocol/pairing_registry.h" |
29 #include "remoting/protocol/session.h" | 29 #include "remoting/protocol/session.h" |
30 #include "remoting/protocol/session_manager.h" | 30 #include "remoting/protocol/session_manager.h" |
31 #include "remoting/protocol/transport.h" | 31 #include "remoting/protocol/transport.h" |
32 #include "remoting/protocol/video_stub.h" | 32 #include "remoting/protocol/video_stub.h" |
33 #include "testing/gmock/include/gmock/gmock.h" | 33 #include "testing/gmock/include/gmock/gmock.h" |
34 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 34 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
35 | 35 |
36 namespace remoting { | 36 namespace remoting { |
37 | 37 |
38 class VideoEncoder; | 38 class VideoEncoder; |
39 | 39 |
40 namespace protocol { | 40 namespace protocol { |
41 | 41 |
42 class MockAuthenticator : public Authenticator { | 42 class MockAuthenticator : public Authenticator { |
43 public: | 43 public: |
44 MockAuthenticator(); | 44 MockAuthenticator(); |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // Runs tasks synchronously instead of posting them to |task_runner|. | 265 // Runs tasks synchronously instead of posting them to |task_runner|. |
266 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 266 void PostTask(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
267 const tracked_objects::Location& from_here, | 267 const tracked_objects::Location& from_here, |
268 const base::Closure& task) override; | 268 const base::Closure& task) override; |
269 }; | 269 }; |
270 | 270 |
271 } // namespace protocol | 271 } // namespace protocol |
272 } // namespace remoting | 272 } // namespace remoting |
273 | 273 |
274 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ | 274 #endif // REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_ |
OLD | NEW |