| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "remoting/protocol/video_stream.h" | 11 #include "remoting/protocol/video_stream.h" |
| 12 | 12 |
| 13 namespace remoting { | 13 namespace remoting { |
| 14 namespace protocol { | 14 namespace protocol { |
| 15 | 15 |
| 16 MockAuthenticator::MockAuthenticator() {} |
| 17 |
| 18 MockAuthenticator::~MockAuthenticator() {} |
| 19 |
| 16 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} | 20 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} |
| 17 | 21 |
| 18 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} | 22 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} |
| 19 | 23 |
| 20 MockClipboardStub::MockClipboardStub() {} | 24 MockClipboardStub::MockClipboardStub() {} |
| 21 | 25 |
| 22 MockClipboardStub::~MockClipboardStub() {} | 26 MockClipboardStub::~MockClipboardStub() {} |
| 23 | 27 |
| 24 MockInputStub::MockInputStub() {} | 28 MockInputStub::MockInputStub() {} |
| 25 | 29 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void SynchronousPairingRegistry::PostTask( | 103 void SynchronousPairingRegistry::PostTask( |
| 100 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 104 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
| 101 const tracked_objects::Location& from_here, | 105 const tracked_objects::Location& from_here, |
| 102 const base::Closure& task) { | 106 const base::Closure& task) { |
| 103 DCHECK(task_runner->BelongsToCurrentThread()); | 107 DCHECK(task_runner->BelongsToCurrentThread()); |
| 104 task.Run(); | 108 task.Run(); |
| 105 } | 109 } |
| 106 | 110 |
| 107 } // namespace protocol | 111 } // namespace protocol |
| 108 } // namespace remoting | 112 } // namespace remoting |
| OLD | NEW |