Index: remoting/host/host_mock_objects.h |
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h |
index 7b2409258f7fc71a1b1734f7415ba62e0d907aa0..a1e00ffba271ae8dfdf74de50fcda46d13bb1fe9 100644 |
--- a/remoting/host/host_mock_objects.h |
+++ b/remoting/host/host_mock_objects.h |
@@ -11,10 +11,10 @@ |
#include "base/macros.h" |
#include "net/base/ip_endpoint.h" |
-#include "remoting/codec/video_encoder.h" |
#include "remoting/host/chromoting_host_context.h" |
#include "remoting/host/client_session.h" |
#include "remoting/host/client_session_control.h" |
+#include "remoting/host/client_session_details.h" |
#include "remoting/host/desktop_environment.h" |
#include "remoting/host/host_status_observer.h" |
#include "remoting/host/input_injector.h" |
@@ -71,6 +71,18 @@ class MockClientSessionControl : public ClientSessionControl { |
DISALLOW_COPY_AND_ASSIGN(MockClientSessionControl); |
}; |
+class MockClientSessionDetails : public ClientSessionDetails { |
+ public: |
+ MockClientSessionDetails(); |
+ ~MockClientSessionDetails() override; |
+ |
+ MOCK_METHOD0(session_control, ClientSessionControl*()); |
+ MOCK_CONST_METHOD0(desktop_session_id, uint32_t()); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(MockClientSessionDetails); |
+}; |
+ |
class MockClientSessionEventHandler : public ClientSession::EventHandler { |
public: |
MockClientSessionEventHandler(); |