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

Unified Diff: remoting/protocol/video_frame_pump_unittest.cc

Issue 2329653002: Add WebrtcVideoEncoder interface (Closed)
Patch Set: win Created 4 years, 3 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.cc » ('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 1cbdc3184f15125a6769e966dfe20e5cb439a2fe..19eea7ba8f61e1af0541f0e3aa9809ba9df6c3b4 100644
--- a/remoting/protocol/video_frame_pump_unittest.cc
+++ b/remoting/protocol/video_frame_pump_unittest.cc
@@ -62,8 +62,7 @@ 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,
- uint32_t flags) {
+ std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame) {
return base::WrapUnique(EncodePtr(frame));
}
};
@@ -83,8 +82,8 @@ class ThreadCheckVideoEncoder : public VideoEncoderVerbatim {
EXPECT_TRUE(task_runner_->BelongsToCurrentThread());
}
- std::unique_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame,
- uint32_t flags) override {
+ std::unique_ptr<VideoPacket> Encode(
+ const webrtc::DesktopFrame& frame) override {
return base::MakeUnique<VideoPacket>();
}
« no previous file with comments | « remoting/protocol/video_frame_pump.cc ('k') | remoting/protocol/webrtc_connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698