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

Unified Diff: remoting/protocol/fake_connection_to_client.cc

Issue 2083843002: Replace VideoStream::SizeCallback with VideoStream::Observer interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge-sched-stream
Patch Set: Created 4 years, 6 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/fake_connection_to_client.h ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_connection_to_client.cc
diff --git a/remoting/protocol/fake_connection_to_client.cc b/remoting/protocol/fake_connection_to_client.cc
index 6c622d884ef7095df39d2c15b50647de5ff2db2e..0f1cfc95761cf0828679714714881fb9e7df447f 100644
--- a/remoting/protocol/fake_connection_to_client.cc
+++ b/remoting/protocol/fake_connection_to_client.cc
@@ -25,8 +25,8 @@ void FakeVideoStream::SetLosslessEncode(bool want_lossless) {}
void FakeVideoStream::SetLosslessColor(bool want_lossless) {}
-void FakeVideoStream::SetSizeCallback(const SizeCallback& size_callback) {
- size_callback_ = size_callback;
+void FakeVideoStream::SetObserver(Observer* observer) {
+ observer_ = observer;
}
base::WeakPtr<FakeVideoStream> FakeVideoStream::GetWeakPtr() {
« no previous file with comments | « remoting/protocol/fake_connection_to_client.h ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698