// 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 "base/single_thread_task_runner.h" #include "net/base/ip_endpoint.h" #include "remoting/base/auto_thread_task_runner.h" #include "remoting/capturer/video_frame_capturer.h" #include "remoting/codec/audio_encoder.h" #include "remoting/codec/video_encoder.h" #include "remoting/host/audio_capturer.h" #include "remoting/host/event_executor.h" #include "remoting/proto/event.pb.h" #include "remoting/protocol/transport.h" namespace remoting { MockDesktopEnvironment::MockDesktopEnvironment() {} MockDesktopEnvironment::~MockDesktopEnvironment() {} scoped_ptr MockDesktopEnvironment::CreateAudioCapturer( scoped_refptr audio_task_runner) { return scoped_ptr(CreateAudioCapturerPtr(audio_task_runner)); } scoped_ptr MockDesktopEnvironment::CreateEventExecutor( scoped_refptr input_task_runner, scoped_refptr ui_task_runner) { return scoped_ptr(CreateEventExecutorPtr(input_task_runner, ui_task_runner)); } scoped_ptr MockDesktopEnvironment::CreateVideoCapturer( scoped_refptr capture_task_runner, scoped_refptr encode_task_runner) { return scoped_ptr(CreateVideoCapturerPtr( capture_task_runner, encode_task_runner)); } MockDesktopEnvironmentFactory::MockDesktopEnvironmentFactory() {} MockDesktopEnvironmentFactory::~MockDesktopEnvironmentFactory() {} scoped_ptr MockDesktopEnvironmentFactory::Create( const std::string& client_jid, const base::Closure& disconnect_callback) { return scoped_ptr(CreatePtr()); } MockEventExecutor::MockEventExecutor() {} MockEventExecutor::~MockEventExecutor() {} void MockEventExecutor::Start( scoped_ptr client_clipboard) { StartPtr(client_clipboard.get()); } MockDisconnectWindow::MockDisconnectWindow() {} MockDisconnectWindow::~MockDisconnectWindow() {} scoped_ptr DisconnectWindow::Create( const UiStrings* ui_strings) { return scoped_ptr(new MockDisconnectWindow()); } MockContinueWindow::MockContinueWindow() {} MockContinueWindow::~MockContinueWindow() {} scoped_ptr ContinueWindow::Create(const UiStrings* ui_strings) { return scoped_ptr(new MockContinueWindow()); } MockLocalInputMonitor::MockLocalInputMonitor() {} MockLocalInputMonitor::~MockLocalInputMonitor() {} MockClientSessionEventHandler::MockClientSessionEventHandler() {} MockClientSessionEventHandler::~MockClientSessionEventHandler() {} MockHostStatusObserver::MockHostStatusObserver() {} MockHostStatusObserver::~MockHostStatusObserver() {} } // namespace remoting