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

Unified Diff: remoting/protocol/client_video_dispatcher_unittest.cc

Issue 1420273002: Add TransportSession interface to prepare for WebRTC-based transport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: remoting/protocol/client_video_dispatcher_unittest.cc
diff --git a/remoting/protocol/client_video_dispatcher_unittest.cc b/remoting/protocol/client_video_dispatcher_unittest.cc
index baf633949f8bd33ae0d226ef0321f85a6c6c8346..74bf7a371efe0757c978507411432141a2d09863 100644
--- a/remoting/protocol/client_video_dispatcher_unittest.cc
+++ b/remoting/protocol/client_video_dispatcher_unittest.cc
@@ -73,7 +73,8 @@ ClientVideoDispatcherTest::ClientVideoDispatcherTest()
base::RunLoop().RunUntilIdle();
DCHECK(initialized_);
host_socket_.PairWith(
- session_.fake_channel_factory().GetFakeChannel(kVideoChannelName));
+ session_.GetTransportSession()->GetStreamChannelFactory()->GetFakeChannel(
Jamie 2015/10/27 21:32:27 Break before GetFakeChannel, for consistency with
Sergey Ulanov 2015/10/27 23:03:58 This is the way clang-format formats this code.
+ kVideoChannelName));
reader_.StartReading(&host_socket_,
base::Bind(&ClientVideoDispatcherTest::OnReadError,
base::Unretained(this)));

Powered by Google App Engine
This is Rietveld 408576698