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

Unified Diff: remoting/protocol/video_frame_pump_unittest.cc

Issue 2483483004: [Chromoting] Implement new APIs in DesktopCapturer (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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/fake_desktop_capturer.cc ('k') | no next file » | 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 4c4c9a8ca30c954aed9dada18699646acd4e2eec..5b1e405974346cada00b4447f928f9dbd3edecac 100644
--- a/remoting/protocol/video_frame_pump_unittest.cc
+++ b/remoting/protocol/video_frame_pump_unittest.cc
@@ -121,6 +121,16 @@ class ThreadCheckDesktopCapturer : public webrtc::DesktopCapturer {
std::move(frame));
}
+ bool GetSourceList(SourceList* sources) override {
+ EXPECT_TRUE(task_runner_->BelongsToCurrentThread());
+ return false;
+ }
+
+ bool SelectSource(SourceId id) override {
+ EXPECT_TRUE(task_runner_->BelongsToCurrentThread());
+ return true;
+ }
+
private:
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
webrtc::DesktopCapturer::Callback* callback_;
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698