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

Unified Diff: webrtc/p2p/base/port.cc

Issue 2685053004: Add the URL attribute to cricket::Candiate. (Closed)
Patch Set: Merge Created 3 years, 10 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 | « webrtc/p2p/base/port.h ('k') | webrtc/p2p/base/port_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/port.cc
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc
index 385022c11aa98fd7be768c672617c5a900d5b5de..9c4c3622572d6e9e97183daee3c9f56dd0451d5c 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,
+ const std::string& url,
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);
« no previous file with comments | « webrtc/p2p/base/port.h ('k') | webrtc/p2p/base/port_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698