summaryrefslogtreecommitdiffstats
path: root/remoting/test/protocol_perftest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/test/protocol_perftest.cc')
-rw-r--r--remoting/test/protocol_perftest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
index f5edd8fd..d08b117 100644
--- a/remoting/test/protocol_perftest.cc
+++ b/remoting/test/protocol_perftest.cc
@@ -75,6 +75,7 @@ class ProtocolPerfTest
public testing::WithParamInterface<NetworkPerformanceParams>,
public ClientUserInterface,
public VideoRenderer,
+ public protocol::VideoStub,
public HostStatusObserver {
public:
ProtocolPerfTest()
@@ -119,6 +120,9 @@ class ProtocolPerfTest
// VideoRenderer interface.
void OnSessionConfig(const protocol::SessionConfig& config) override {}
ChromotingStats* GetStats() override { return nullptr; }
+ protocol::VideoStub* GetVideoStub() override { return this; }
+
+ // protocol::VideoStub interface.
void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet,
const base::Closure& done) override {
if (video_packet->data().empty()) {