| 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/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 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} | 16 MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {} |
| 17 | 17 |
| 18 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} | 18 MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {} |
| 19 | 19 |
| 20 MockClipboardStub::MockClipboardStub() {} | 20 MockClipboardStub::MockClipboardStub() {} |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void SynchronousPairingRegistry::PostTask( | 99 void SynchronousPairingRegistry::PostTask( |
| 100 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, | 100 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, |
| 101 const tracked_objects::Location& from_here, | 101 const tracked_objects::Location& from_here, |
| 102 const base::Closure& task) { | 102 const base::Closure& task) { |
| 103 DCHECK(task_runner->BelongsToCurrentThread()); | 103 DCHECK(task_runner->BelongsToCurrentThread()); |
| 104 task.Run(); | 104 task.Run(); |
| 105 } | 105 } |
| 106 | 106 |
| 107 } // namespace protocol | 107 } // namespace protocol |
| 108 } // namespace remoting | 108 } // namespace remoting |
| OLD | NEW |