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

Unified Diff: webrtc/p2p/base/tcpport.h

Issue 2063823008: Adding IceConfig option to assume TURN/TURN candidate pairs will work. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Responding to comments. Doing "presumed writable" determination in Connection. 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
Index: webrtc/p2p/base/tcpport.h
diff --git a/webrtc/p2p/base/tcpport.h b/webrtc/p2p/base/tcpport.h
index 77bbd09eab0e2da449e72c6df467eb609e0044c8..2cb03246dcd2fcd3a65dc3daaed74f0612c65418 100644
--- a/webrtc/p2p/base/tcpport.h
+++ b/webrtc/p2p/base/tcpport.h
@@ -50,7 +50,8 @@ class TCPPort : public Port {
~TCPPort() override;
Connection* CreateConnection(const Candidate& address,
- CandidateOrigin origin) override;
+ CandidateOrigin origin,
+ const IceConfig& config) override;
void PrepareAddress() override;
@@ -120,7 +121,9 @@ class TCPPort : public Port {
class TCPConnection : public Connection {
public:
// Connection is outgoing unless socket is specified
- TCPConnection(TCPPort* port, const Candidate& candidate,
+ TCPConnection(TCPPort* port,
+ const Candidate& candidate,
+ const IceConfig& config,
rtc::AsyncPacketSocket* socket = 0);
~TCPConnection() override;

Powered by Google App Engine
This is Rietveld 408576698