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

Unified Diff: remoting/protocol/connection_tester.h

Issue 2757723002: Update ICE protocol to handle closed channel (Closed)
Patch Set: . Created 3 years, 9 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 | « no previous file | remoting/protocol/connection_tester.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_tester.h
diff --git a/remoting/protocol/connection_tester.h b/remoting/protocol/connection_tester.h
index e0fc09f3eda6c2718b05ce502112907d6b9d2c71..692d1a9b009434a03789ee81e5d3f9593bb9ff85 100644
--- a/remoting/protocol/connection_tester.h
+++ b/remoting/protocol/connection_tester.h
@@ -111,8 +111,8 @@ class DatagramConnectionTester {
class MessagePipeConnectionTester : public MessagePipe::EventHandler {
public:
- MessagePipeConnectionTester(MessagePipe* client_pipe,
- MessagePipe* host_pipe,
+ MessagePipeConnectionTester(MessagePipe* host_pipe,
+ MessagePipe* client_pipe,
int message_size,
int message_count);
~MessagePipeConnectionTester() override;
@@ -126,13 +126,13 @@ class MessagePipeConnectionTester : public MessagePipe::EventHandler {
void OnMessagePipeClosed() override;
private:
+ class MessageSender;
+
base::RunLoop run_loop_;
- MessagePipe* host_pipe_;
MessagePipe* client_pipe_;
- int message_size_;
- int message_count_;
- std::vector<std::unique_ptr<VideoPacket>> sent_messages_;
+ std::unique_ptr<MessageSender> sender_;
+
std::vector<std::unique_ptr<VideoPacket>> received_messages_;
};
« no previous file with comments | « no previous file | remoting/protocol/connection_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698