| Index: webrtc/p2p/base/candidate.h
|
| diff --git a/webrtc/p2p/base/candidate.h b/webrtc/p2p/base/candidate.h
|
| index 5073aeb32212aec33a661da29ace6a562c47f1a7..723dbc9f47162b3d45a2e1973a5b66143fb1ada6 100644
|
| --- a/webrtc/p2p/base/candidate.h
|
| +++ b/webrtc/p2p/base/candidate.h
|
| @@ -161,7 +161,6 @@ class Candidate {
|
| const std::string& foundation() const {
|
| return foundation_;
|
| }
|
| -
|
| void set_foundation(const std::string& foundation) {
|
| foundation_ = foundation;
|
| }
|
| @@ -184,6 +183,10 @@ class Candidate {
|
| transport_name_ = transport_name;
|
| }
|
|
|
| + // The URL of the ICE server which this candidate is gathered from.
|
| + const std::string& url() const { return url_; }
|
| + void set_url(const std::string& url) { url_ = url; }
|
| +
|
| // Determines whether this candidate is equivalent to the given one.
|
| bool IsEquivalent(const Candidate& c) const {
|
| // We ignore the network name, since that is just debug information, and
|
| @@ -284,6 +287,7 @@ class Candidate {
|
| std::string transport_name_;
|
| uint16_t network_id_;
|
| uint16_t network_cost_;
|
| + std::string url_;
|
| };
|
|
|
| // Used during parsing and writing to map component to channel name
|
|
|