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

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

Issue 2694103003: Un-break downstream project. (Closed)
Patch Set: Clearify the comment. 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 | « no previous file | webrtc/p2p/base/port.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/port.h
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
index ba30c480f999cec4b249a1d8782294861dfd7561..f6900210f4417e35da6384eaeba7b54433d43b46 100644
--- a/webrtc/p2p/base/port.h
+++ b/webrtc/p2p/base/port.h
@@ -323,6 +323,19 @@ class Port : public PortInterface, public rtc::MessageHandler,
void set_type(const std::string& type) { type_ = type; }
+ // Deprecated. Use the AddAddress() method below with "url" instead.
+ // TODO(zhihuang): Remove this after downstream applications stop using it.
+ void AddAddress(const rtc::SocketAddress& address,
+ const rtc::SocketAddress& base_address,
+ const rtc::SocketAddress& related_address,
+ const std::string& protocol,
+ const std::string& relay_protocol,
+ const std::string& tcptype,
+ const std::string& type,
+ uint32_t type_preference,
+ uint32_t relay_preference,
+ bool final);
+
void AddAddress(const rtc::SocketAddress& address,
const rtc::SocketAddress& base_address,
const rtc::SocketAddress& related_address,
« no previous file with comments | « no previous file | webrtc/p2p/base/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698