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 #include "remoting/protocol/protocol_mock_objects.h" | 5 #include "remoting/protocol/protocol_mock_objects.h" |
6 | 6 |
| 7 #include <memory> |
7 #include <utility> | 8 #include <utility> |
8 | 9 |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 #include "remoting/protocol/session_plugin.h" |
11 #include "remoting/protocol/video_stream.h" | 13 #include "remoting/protocol/video_stream.h" |
12 | 14 |
13 namespace remoting { | 15 namespace remoting { |
14 namespace protocol { | 16 namespace protocol { |
15 | 17 |
16 MockAuthenticator::MockAuthenticator() {} | 18 MockAuthenticator::MockAuthenticator() {} |
17 | 19 |
18 MockAuthenticator::~MockAuthenticator() {} | 20 MockAuthenticator::~MockAuthenticator() {} |
19 | 21 |
20 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} | 22 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} |
(...skipping 21 matching lines...) Expand all Loading... |
42 MockCursorShapeStub::~MockCursorShapeStub() {} | 44 MockCursorShapeStub::~MockCursorShapeStub() {} |
43 | 45 |
44 MockVideoStub::MockVideoStub() {} | 46 MockVideoStub::MockVideoStub() {} |
45 | 47 |
46 MockVideoStub::~MockVideoStub() {} | 48 MockVideoStub::~MockVideoStub() {} |
47 | 49 |
48 MockSession::MockSession() {} | 50 MockSession::MockSession() {} |
49 | 51 |
50 MockSession::~MockSession() {} | 52 MockSession::~MockSession() {} |
51 | 53 |
| 54 void MockSession::Attach(std::unique_ptr<SessionPlugin> plugin) {} |
| 55 |
52 MockSessionManager::MockSessionManager() {} | 56 MockSessionManager::MockSessionManager() {} |
53 | 57 |
54 MockSessionManager::~MockSessionManager() {} | 58 MockSessionManager::~MockSessionManager() {} |
55 | 59 |
56 MockPairingRegistryDelegate::MockPairingRegistryDelegate() { | 60 MockPairingRegistryDelegate::MockPairingRegistryDelegate() { |
57 } | 61 } |
58 | 62 |
59 MockPairingRegistryDelegate::~MockPairingRegistryDelegate() { | 63 MockPairingRegistryDelegate::~MockPairingRegistryDelegate() { |
60 } | 64 } |
61 | 65 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void SynchronousPairingRegistry::PostTask( | 107 void SynchronousPairingRegistry::PostTask( |
104 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 108 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
105 const tracked_objects::Location& from_here, | 109 const tracked_objects::Location& from_here, |
106 const base::Closure& task) { | 110 const base::Closure& task) { |
107 DCHECK(task_runner->BelongsToCurrentThread()); | 111 DCHECK(task_runner->BelongsToCurrentThread()); |
108 task.Run(); | 112 task.Run(); |
109 } | 113 } |
110 | 114 |
111 } // namespace protocol | 115 } // namespace protocol |
112 } // namespace remoting | 116 } // namespace remoting |
OLD | NEW |