Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: remoting/test/protocol_perftest.cc

Issue 910343002: Decompose VideoRenderer from VideoStub. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix perf test Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/video_renderer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/protocol_perftest.cc
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
index f5edd8fd73af10547ba1f816cb102c3282e6b050..d08b117fdb1b832d82afed2444d20885d2df528b 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()) {
« no previous file with comments | « remoting/client/video_renderer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698