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

Unified Diff: remoting/protocol/connection_tester.cc

Issue 2164163002: Simplify data channel creation logic in WebRTC-based protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 5 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/connection_tester.h ('k') | remoting/protocol/message_pipe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_tester.cc
diff --git a/remoting/protocol/connection_tester.cc b/remoting/protocol/connection_tester.cc
index 214f6ea13a95b68091698581f3f146f4b32ed4ef..32f336888aaab2b4786d4adff1ec73bd71b7f56b 100644
--- a/remoting/protocol/connection_tester.cc
+++ b/remoting/protocol/connection_tester.cc
@@ -273,7 +273,9 @@ MessagePipeConnectionTester::~MessagePipeConnectionTester() {}
void MessagePipeConnectionTester::RunAndCheckResults() {
host_pipe_->Start(this);
+}
+void MessagePipeConnectionTester::OnMessagePipeOpen() {
for (int i = 0; i < message_count_; ++i) {
std::unique_ptr<VideoPacket> message(new VideoPacket());
message->mutable_data()->resize(message_size_);
« no previous file with comments | « remoting/protocol/connection_tester.h ('k') | remoting/protocol/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698