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::AddPlugin(std::unique_ptr<SessionPlugin> plugin) { |
| 55 NOTIMPLEMENTED(); |
| 56 } |
| 57 |
52 MockSessionManager::MockSessionManager() {} | 58 MockSessionManager::MockSessionManager() {} |
53 | 59 |
54 MockSessionManager::~MockSessionManager() {} | 60 MockSessionManager::~MockSessionManager() {} |
55 | 61 |
56 MockPairingRegistryDelegate::MockPairingRegistryDelegate() { | 62 MockPairingRegistryDelegate::MockPairingRegistryDelegate() { |
57 } | 63 } |
58 | 64 |
59 MockPairingRegistryDelegate::~MockPairingRegistryDelegate() { | 65 MockPairingRegistryDelegate::~MockPairingRegistryDelegate() { |
60 } | 66 } |
61 | 67 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void SynchronousPairingRegistry::PostTask( | 109 void SynchronousPairingRegistry::PostTask( |
104 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 110 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
105 const tracked_objects::Location& from_here, | 111 const tracked_objects::Location& from_here, |
106 const base::Closure& task) { | 112 const base::Closure& task) { |
107 DCHECK(task_runner->BelongsToCurrentThread()); | 113 DCHECK(task_runner->BelongsToCurrentThread()); |
108 task.Run(); | 114 task.Run(); |
109 } | 115 } |
110 | 116 |
111 } // namespace protocol | 117 } // namespace protocol |
112 } // namespace remoting | 118 } // namespace remoting |
OLD | NEW |