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

Unified Diff: remoting/protocol/video_frame_pump_unittest.cc

Issue 1846893002: Interface with webrtc through encoded frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sergey comment Created 4 years, 8 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/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_connection_to_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_frame_pump_unittest.cc
diff --git a/remoting/protocol/video_frame_pump_unittest.cc b/remoting/protocol/video_frame_pump_unittest.cc
index e01df012a01dad3ad66d608702fa229bef64e5c9..18c041fa3ec4a4706919d25c0fb84a1a84aa6443 100644
--- a/remoting/protocol/video_frame_pump_unittest.cc
+++ b/remoting/protocol/video_frame_pump_unittest.cc
@@ -62,7 +62,8 @@ class MockVideoEncoder : public VideoEncoder {
MOCK_METHOD1(SetLosslessColor, void(bool));
MOCK_METHOD1(EncodePtr, VideoPacket*(const webrtc::DesktopFrame&));
- std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame) {
+ std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame,
+ uint32_t flags) {
return base::WrapUnique(EncodePtr(frame));
}
};
@@ -82,8 +83,8 @@ class ThreadCheckVideoEncoder : public VideoEncoderVerbatim {
EXPECT_TRUE(task_runner_->BelongsToCurrentThread());
}
- std::unique_ptr<VideoPacket> Encode(
- const webrtc::DesktopFrame& frame) override {
+ std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame,
+ uint32_t flags) override {
return base::WrapUnique(new VideoPacket());
}
« no previous file with comments | « remoting/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698