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

Unified Diff: remoting/protocol/video_frame_pump_unittest.cc

Issue 2483483004: [Chromoting] Implement new APIs in DesktopCapturer (Closed)
Patch Set: 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
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..a529e53ea8580ce6ef01379219434e6df54d569b 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 true;
Sergey Ulanov 2016/11/05 00:16:26 return false;
Hzj_jie 2016/11/06 04:27:24 Done.
+ }
+
+ bool SelectSource(SourceId id) override {
+ EXPECT_TRUE(task_runner_->BelongsToCurrentThread());
+ return true;
+ }
+
private:
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
webrtc::DesktopCapturer::Callback* callback_;
« remoting/protocol/fake_desktop_capturer.h ('K') | « remoting/protocol/fake_desktop_capturer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698