| 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/proto/event.pb.h" | 9 #include "remoting/proto/event.pb.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 | 24 |
| 25 MockEventExecutor::MockEventExecutor() {} | 25 MockEventExecutor::MockEventExecutor() {} |
| 26 | 26 |
| 27 MockEventExecutor::~MockEventExecutor() {} | 27 MockEventExecutor::~MockEventExecutor() {} |
| 28 | 28 |
| 29 MockDisconnectWindow::MockDisconnectWindow() {} | 29 MockDisconnectWindow::MockDisconnectWindow() {} |
| 30 | 30 |
| 31 MockDisconnectWindow::~MockDisconnectWindow() {} | 31 MockDisconnectWindow::~MockDisconnectWindow() {} |
| 32 | 32 |
| 33 DisconnectWindow* DisconnectWindow::Create() { | 33 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { |
| 34 return new MockDisconnectWindow(); | 34 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); |
| 35 } | 35 } |
| 36 | 36 |
| 37 MockContinueWindow::MockContinueWindow() {} | 37 MockContinueWindow::MockContinueWindow() {} |
| 38 | 38 |
| 39 MockContinueWindow::~MockContinueWindow() {} | 39 MockContinueWindow::~MockContinueWindow() {} |
| 40 | 40 |
| 41 ContinueWindow* ContinueWindow::Create() { | 41 scoped_ptr<ContinueWindow> ContinueWindow::Create() { |
| 42 return new MockContinueWindow(); | 42 return scoped_ptr<ContinueWindow>(new MockContinueWindow()); |
| 43 } | 43 } |
| 44 | 44 |
| 45 MockLocalInputMonitor::MockLocalInputMonitor() {} | 45 MockLocalInputMonitor::MockLocalInputMonitor() {} |
| 46 | 46 |
| 47 MockLocalInputMonitor::~MockLocalInputMonitor() {} | 47 MockLocalInputMonitor::~MockLocalInputMonitor() {} |
| 48 | 48 |
| 49 LocalInputMonitor* LocalInputMonitor::Create() { | 49 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create() { |
| 50 return new MockLocalInputMonitor(); | 50 return scoped_ptr<LocalInputMonitor>(new MockLocalInputMonitor()); |
| 51 } | 51 } |
| 52 | 52 |
| 53 MockChromotingHostContext::MockChromotingHostContext() | 53 MockChromotingHostContext::MockChromotingHostContext() |
| 54 : ChromotingHostContext(NULL, base::MessageLoopProxy::current()) { | 54 : ChromotingHostContext(NULL, base::MessageLoopProxy::current()) { |
| 55 } | 55 } |
| 56 | 56 |
| 57 MockChromotingHostContext::~MockChromotingHostContext() {} | 57 MockChromotingHostContext::~MockChromotingHostContext() {} |
| 58 | 58 |
| 59 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 59 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
| 60 | 60 |
| 61 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 61 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
| 62 | 62 |
| 63 MockUserAuthenticator::MockUserAuthenticator() {} | 63 MockUserAuthenticator::MockUserAuthenticator() {} |
| 64 | 64 |
| 65 MockUserAuthenticator::~MockUserAuthenticator() {} | 65 MockUserAuthenticator::~MockUserAuthenticator() {} |
| 66 | 66 |
| 67 } // namespace remoting | 67 } // namespace remoting |
| OLD | NEW |