Index: webrtc/p2p/base/candidate.h |
diff --git a/webrtc/p2p/base/candidate.h b/webrtc/p2p/base/candidate.h |
index c2b889541e72165461c9a2f4055dd14d9b73651b..66b0ab04b38fd41a1622dd915686b7d4465f252d 100644 |
--- a/webrtc/p2p/base/candidate.h |
+++ b/webrtc/p2p/base/candidate.h |
@@ -70,6 +70,12 @@ class Candidate { |
const std::string & protocol() const { return protocol_; } |
void set_protocol(const std::string & protocol) { protocol_ = protocol; } |
+ // The protocol used to talk to relay. |
+ const std::string& relay_protocol() const { return relay_protocol_; } |
+ void set_relay_protocol(const std::string& protocol) { |
+ relay_protocol_ = protocol; |
+ } |
+ |
const rtc::SocketAddress & address() const { return address_; } |
void set_address(const rtc::SocketAddress & address) { |
address_ = address; |
@@ -214,6 +220,7 @@ class Candidate { |
std::string id_; |
int component_; |
std::string protocol_; |
+ std::string relay_protocol_; |
rtc::SocketAddress address_; |
uint32 priority_; |
std::string username_; |