| 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/auto_thread_task_runner.h" |
| 10 #include "remoting/base/capture_data.h" | 10 #include "remoting/base/capture_data.h" |
| 11 #include "remoting/proto/event.pb.h" | 11 #include "remoting/proto/event.pb.h" |
| 12 #include "remoting/protocol/transport.h" | 12 #include "remoting/protocol/transport.h" |
| 13 | 13 |
| 14 namespace remoting { | 14 namespace remoting { |
| 15 | 15 |
| 16 MockVideoFrameCapturer::MockVideoFrameCapturer() {} | 16 MockVideoFrameCapturer::MockVideoFrameCapturer() {} |
| 17 | 17 |
| 18 MockVideoFrameCapturer::~MockVideoFrameCapturer() {} | 18 MockVideoFrameCapturer::~MockVideoFrameCapturer() {} |
| 19 | 19 |
| 20 MockCaptureCompletedCallback::MockCaptureCompletedCallback() {} | |
| 21 | |
| 22 MockCaptureCompletedCallback::~MockCaptureCompletedCallback() {} | |
| 23 | |
| 24 void MockCaptureCompletedCallback::CaptureCompleted( | |
| 25 scoped_refptr<CaptureData> capture_data) { | |
| 26 CaptureCompletedPtr(capture_data.get()); | |
| 27 } | |
| 28 | |
| 29 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() | 20 MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() |
| 30 : DesktopEnvironmentFactory(NULL, NULL) { | 21 : DesktopEnvironmentFactory(NULL, NULL) { |
| 31 } | 22 } |
| 32 | 23 |
| 33 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} | 24 MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} |
| 34 | 25 |
| 35 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( | 26 scoped_ptr<DesktopEnvironment> MockDesktopEnvironmentFactory::Create( |
| 36 ClientSession* client) { | 27 ClientSession* client) { |
| 37 return scoped_ptr<DesktopEnvironment>(CreatePtr(client)); | 28 return scoped_ptr<DesktopEnvironment>(CreatePtr(client)); |
| 38 } | 29 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 74 |
| 84 MockHostStatusObserver::MockHostStatusObserver() {} | 75 MockHostStatusObserver::MockHostStatusObserver() {} |
| 85 | 76 |
| 86 MockHostStatusObserver::~MockHostStatusObserver() {} | 77 MockHostStatusObserver::~MockHostStatusObserver() {} |
| 87 | 78 |
| 88 MockUserAuthenticator::MockUserAuthenticator() {} | 79 MockUserAuthenticator::MockUserAuthenticator() {} |
| 89 | 80 |
| 90 MockUserAuthenticator::~MockUserAuthenticator() {} | 81 MockUserAuthenticator::~MockUserAuthenticator() {} |
| 91 | 82 |
| 92 } // namespace remoting | 83 } // namespace remoting |
| OLD | NEW |