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

Unified Diff: remoting/protocol/connection_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/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;
Sergey Ulanov 2016/11/05 00:16:26 Need to put something in sources if you return suc
Hzj_jie 2016/11/06 04:27:24 Done.
+ }
+
+ bool SelectSource(SourceId id) override {
+ return true;
+ }
+
private:
Callback* callback_ = nullptr;
bool first_frame_sent_ = false;

Powered by Google App Engine
This is Rietveld 408576698