Chromium Code Reviews| Index: webrtc/p2p/base/port.cc |
| diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc |
| index 385022c11aa98fd7be768c672617c5a900d5b5de..d356b52c16820cb528c001b58463fa23a25581af 100644 |
| --- a/webrtc/p2p/base/port.cc |
| +++ b/webrtc/p2p/base/port.cc |
| @@ -252,6 +252,7 @@ void Port::AddAddress(const rtc::SocketAddress& address, |
| const std::string& type, |
| uint32_t type_preference, |
| uint32_t relay_preference, |
| + std::string url, |
|
Taylor Brandstetter
2017/02/10 01:58:46
nit: const ref parameter
Zhi Huang
2017/02/10 06:45:50
Done.
|
| bool final) { |
| if (protocol == TCP_PROTOCOL_NAME && type == LOCAL_PORT_TYPE) { |
| RTC_DCHECK(!tcptype.empty()); |
| @@ -268,6 +269,7 @@ void Port::AddAddress(const rtc::SocketAddress& address, |
| c.set_network_name(network_->name()); |
| c.set_network_type(network_->type()); |
| c.set_related_address(related_address); |
| + c.set_url(url); |
| candidates_.push_back(c); |
| SignalCandidateReady(this, c); |