Index: webrtc/p2p/base/faketransportcontroller.h |
diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h |
index e356e814b754a1b2b6f88f987b7bd33cb46e943a..c36b1a1611b2e48f20e5f907db97c163c5349430 100644 |
--- a/webrtc/p2p/base/faketransportcontroller.h |
+++ b/webrtc/p2p/base/faketransportcontroller.h |
@@ -182,11 +182,13 @@ class FakeTransportChannel : public TransportChannelImpl, |
void SetReceiving(bool receiving) { set_receiving(receiving); } |
- void SetReceivingTimeout(int timeout) override { |
- receiving_timeout_ = timeout; |
+ void SetIceConfig(const IceConfig& config) override { |
+ receiving_timeout_ = config.receiving_timeout_ms; |
+ continue_getting_ports_ = config.continue_getting_ports; |
} |
int receiving_timeout() const { return receiving_timeout_; } |
+ bool continue_getting_ports() const { return continue_getting_ports_; } |
int SendPacket(const char* data, |
size_t len, |
@@ -319,6 +321,7 @@ class FakeTransportChannel : public TransportChannelImpl, |
std::vector<std::string> srtp_ciphers_; |
std::string chosen_srtp_cipher_; |
int receiving_timeout_ = -1; |
+ bool continue_getting_ports_ = false; |
IceRole role_ = ICEROLE_UNKNOWN; |
uint64 tiebreaker_ = 0; |
std::string ice_ufrag_; |