| Index: remoting/host/host_mock_objects.h
|
| diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
|
| index 52d0170d486acbe0033c9cd9a3250117df64568b..c6bba83b3344a23d6a6726664eecebfa68d7768b 100644
|
| --- a/remoting/host/host_mock_objects.h
|
| +++ b/remoting/host/host_mock_objects.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
|
|
| #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"
|
| @@ -164,6 +165,18 @@ class MockMouseCursorMonitor : public webrtc::MouseCursorMonitor {
|
| DISALLOW_COPY_AND_ASSIGN(MockMouseCursorMonitor);
|
| };
|
|
|
| +class MockVideoEncoder : public VideoEncoder {
|
| + public:
|
| + MockVideoEncoder();
|
| + ~MockVideoEncoder() override;
|
| +
|
| + MOCK_METHOD1(SetLosslessEncode, void(bool));
|
| + MOCK_METHOD1(SetLosslessColor, void(bool));
|
| + MOCK_METHOD1(EncodePtr, VideoPacket*(const webrtc::DesktopFrame&));
|
| +
|
| + scoped_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame) override;
|
| +};
|
| +
|
| } // namespace remoting
|
|
|
| #endif // REMOTING_HOST_HOST_MOCK_OBJECTS_H_
|
|
|