| 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/host/host_mock_objects.h" | 5 #include "remoting/host/host_mock_objects.h" |
| 6 | 6 |
| 7 #include "base/message_loop_proxy.h" | 7 #include "base/message_loop_proxy.h" |
| 8 #include "net/base/ip_endpoint.h" | 8 #include "net/base/ip_endpoint.h" |
| 9 #include "remoting/base/auto_thread_task_runner.h" |
| 9 #include "remoting/base/capture_data.h" | 10 #include "remoting/base/capture_data.h" |
| 10 #include "remoting/proto/event.pb.h" | 11 #include "remoting/proto/event.pb.h" |
| 11 #include "remoting/protocol/transport.h" | 12 #include "remoting/protocol/transport.h" |
| 12 | 13 |
| 13 namespace remoting { | 14 namespace remoting { |
| 14 | 15 |
| 15 MockVideoFrameCapturer::MockVideoFrameCapturer() {} | 16 MockVideoFrameCapturer::MockVideoFrameCapturer() {} |
| 16 | 17 |
| 17 MockVideoFrameCapturer::~MockVideoFrameCapturer() {} | 18 MockVideoFrameCapturer::~MockVideoFrameCapturer() {} |
| 18 | 19 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 53 |
| 53 MockLocalInputMonitor::MockLocalInputMonitor() {} | 54 MockLocalInputMonitor::MockLocalInputMonitor() {} |
| 54 | 55 |
| 55 MockLocalInputMonitor::~MockLocalInputMonitor() {} | 56 MockLocalInputMonitor::~MockLocalInputMonitor() {} |
| 56 | 57 |
| 57 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { | 58 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { |
| 58 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor()); | 59 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor()); |
| 59 } | 60 } |
| 60 | 61 |
| 61 MockChromotingHostContext::MockChromotingHostContext() | 62 MockChromotingHostContext::MockChromotingHostContext() |
| 62 : ChromotingHostContext(base::MessageLoopProxy::current()) { | 63 : ChromotingHostContext(new AutoThreadTaskRunner( |
| 64 base::MessageLoopProxy::current())) { |
| 63 } | 65 } |
| 64 | 66 |
| 65 MockChromotingHostContext::~MockChromotingHostContext() {} | 67 MockChromotingHostContext::~MockChromotingHostContext() {} |
| 66 | 68 |
| 67 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 69 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
| 68 | 70 |
| 69 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 71 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
| 70 | 72 |
| 71 MockHostStatusObserver::MockHostStatusObserver() {} | 73 MockHostStatusObserver::MockHostStatusObserver() {} |
| 72 | 74 |
| 73 MockHostStatusObserver::~MockHostStatusObserver() {} | 75 MockHostStatusObserver::~MockHostStatusObserver() {} |
| 74 | 76 |
| 75 MockUserAuthenticator::MockUserAuthenticator() {} | 77 MockUserAuthenticator::MockUserAuthenticator() {} |
| 76 | 78 |
| 77 MockUserAuthenticator::~MockUserAuthenticator() {} | 79 MockUserAuthenticator::~MockUserAuthenticator() {} |
| 78 | 80 |
| 79 } // namespace remoting | 81 } // namespace remoting |
| OLD | NEW |