| 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 #include "remoting/protocol/transport.h" | 10 #include "remoting/protocol/transport.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 | 13 |
| 14 MockCapturer::MockCapturer() {} | 14 MockCapturer::MockCapturer() {} |
| 15 | 15 |
| 16 MockCapturer::~MockCapturer() {} | 16 MockCapturer::~MockCapturer() {} |
| 17 | 17 |
| 18 MockCurtain::MockCurtain() {} | 18 MockCurtain::MockCurtain() {} |
| 19 | 19 |
| 20 MockCurtain::~MockCurtain() {} | 20 MockCurtain::~MockCurtain() {} |
| 21 | 21 |
| 22 Curtain* Curtain::Create() { | 22 Curtain* Curtain::Create() { |
| 23 return new MockCurtain(); | 23 return new MockCurtain(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 MockEventExecutor::MockEventExecutor() {} | 26 MockEventExecutor::MockEventExecutor() {} |
| 27 | 27 |
| 28 MockEventExecutor::~MockEventExecutor() {} | 28 MockEventExecutor::~MockEventExecutor() {} |
| 29 | 29 |
| 30 void MockEventExecutor::OnSessionStarted( |
| 31 scoped_ptr<protocol::ClipboardStub> client_clipboard) {} |
| 32 |
| 30 MockDisconnectWindow::MockDisconnectWindow() {} | 33 MockDisconnectWindow::MockDisconnectWindow() {} |
| 31 | 34 |
| 32 MockDisconnectWindow::~MockDisconnectWindow() {} | 35 MockDisconnectWindow::~MockDisconnectWindow() {} |
| 33 | 36 |
| 34 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { | 37 scoped_ptr<DisconnectWindow> DisconnectWindow::Create() { |
| 35 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); | 38 return scoped_ptr<DisconnectWindow>(new MockDisconnectWindow()); |
| 36 } | 39 } |
| 37 | 40 |
| 38 MockContinueWindow::MockContinueWindow() {} | 41 MockContinueWindow::MockContinueWindow() {} |
| 39 | 42 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 59 | 62 |
| 60 MockClientSessionEventHandler::MockClientSessionEventHandler() {} | 63 MockClientSessionEventHandler::MockClientSessionEventHandler() {} |
| 61 | 64 |
| 62 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} | 65 MockClientSessionEventHandler::~MockClientSessionEventHandler() {} |
| 63 | 66 |
| 64 MockUserAuthenticator::MockUserAuthenticator() {} | 67 MockUserAuthenticator::MockUserAuthenticator() {} |
| 65 | 68 |
| 66 MockUserAuthenticator::~MockUserAuthenticator() {} | 69 MockUserAuthenticator::~MockUserAuthenticator() {} |
| 67 | 70 |
| 68 } // namespace remoting | 71 } // namespace remoting |
| OLD | NEW |