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

Unified Diff: remoting/protocol/connection_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/host/ipc_video_frame_capturer.cc ('k') | remoting/protocol/fake_desktop_capturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_unittest.cc
diff --git a/remoting/protocol/connection_unittest.cc b/remoting/protocol/connection_unittest.cc
index fc063183273b2b0af4515cf87926cffe7820d3db..1217aea7b3673ad11c6a521940ccbc90c54372b8 100644
--- a/remoting/protocol/connection_unittest.cc
+++ b/remoting/protocol/connection_unittest.cc
@@ -94,6 +94,14 @@ class TestScreenCapturer : public webrtc::DesktopCapturer {
std::move(frame));
}
+ bool GetSourceList(SourceList* sources) override {
+ return true;
+ }
+
+ bool SelectSource(SourceId id) override {
+ return true;
+ }
+
private:
Callback* callback_ = nullptr;
bool first_frame_sent_ = false;
« no previous file with comments | « remoting/host/ipc_video_frame_capturer.cc ('k') | remoting/protocol/fake_desktop_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698