| Index: remoting/host/host_mock_objects.h
|
| diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
|
| index e87c94d757f44d5e57e4c19ec97e5c6504b0b2c4..8d6d1e28d16e97ad5a349d1a212e198196861478 100644
|
| --- a/remoting/host/host_mock_objects.h
|
| +++ b/remoting/host/host_mock_objects.h
|
| @@ -10,6 +10,8 @@
|
| #include "remoting/host/chromoting_host_context.h"
|
| #include "remoting/host/client_session.h"
|
| #include "remoting/host/continue_window.h"
|
| +#include "remoting/host/desktop_environment.h"
|
| +#include "remoting/host/desktop_environment_factory.h"
|
| #include "remoting/host/disconnect_window.h"
|
| #include "remoting/host/event_executor.h"
|
| #include "remoting/host/host_status_observer.h"
|
| @@ -119,6 +121,19 @@ class MockClientSessionEventHandler : public ClientSession::EventHandler {
|
| DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler);
|
| };
|
|
|
| +class MockDesktopEnvironmentFactory : public DesktopEnvironmentFactory {
|
| + public:
|
| + MockDesktopEnvironmentFactory();
|
| + virtual ~MockDesktopEnvironmentFactory();
|
| +
|
| + MOCK_METHOD1(CreatePtr, DesktopEnvironment*(ClientSession* client));
|
| +
|
| + virtual scoped_ptr<DesktopEnvironment> Create(ClientSession* client) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(MockDesktopEnvironmentFactory);
|
| +};
|
| +
|
| class MockEventExecutor : public EventExecutor {
|
| public:
|
| MockEventExecutor();
|
|
|