// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/host/host_mock_objects.h" #include "base/message_loop_proxy.h" #include "net/base/ip_endpoint.h" #include "remoting/base/auto_thread_task_runner.h" #include "remoting/base/capture_data.h" #include "remoting/proto/event.pb.h" #include "remoting/protocol/transport.h" namespace remoting { MockVideoFrameCapturer::MockVideoFrameCapturer() {} MockVideoFrameCapturer::~MockVideoFrameCapturer() {} MockVideoFrameCapturerDelegate::MockVideoFrameCapturerDelegate() { } MockVideoFrameCapturerDelegate::~MockVideoFrameCapturerDelegate() { } void MockVideoFrameCapturerDelegate::OnCursorShapeChanged( scoped_ptr cursor_shape) { // Notify the mock method. OnCursorShapeChangedPtr(cursor_shape.get()); } MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() : DesktopEnvironmentFactory(NULL, NULL) { } MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} scoped_ptr MockDesktopEnvironmentFactory::Create( ClientSession* client) { return scoped_ptr(CreatePtr(client)); } MockEventExecutor::MockEventExecutor() {} MockEventExecutor::~MockEventExecutor() {} void MockEventExecutor::Start( scoped_ptr client_clipboard) { StartPtr(client_clipboard.get()); } MockDisconnectWindow::MockDisconnectWindow() {} MockDisconnectWindow::~MockDisconnectWindow() {} scoped_ptr DisconnectWindow::Create() { return scoped_ptr(new MockDisconnectWindow()); } MockContinueWindow::MockContinueWindow() {} MockContinueWindow::~MockContinueWindow() {} scoped_ptr ContinueWindow::Create() { return scoped_ptr(new MockContinueWindow()); } MockLocalInputMonitor::MockLocalInputMonitor() {} MockLocalInputMonitor::~MockLocalInputMonitor() {} scoped_ptr LocalInputMonitor::Create() { return scoped_ptr(new MockLocalInputMonitor()); } MockChromotingHostContext::MockChromotingHostContext() : ChromotingHostContext(new AutoThreadTaskRunner( base::MessageLoopProxy::current())) { } MockChromotingHostContext::~MockChromotingHostContext() {} MockClientSessionEventHandler::MockClientSessionEventHandler() {} MockClientSessionEventHandler::~MockClientSessionEventHandler() {} MockHostStatusObserver::MockHostStatusObserver() {} MockHostStatusObserver::~MockHostStatusObserver() {} } // namespace remoting