Index: webrtc/api/peerconnectioninterface.h |
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
index 54fae2b71107398b6938e1b4c2797c00044ce4c8..bcb2cf6bd98b1f1e8741d0a00360b2445da01636 100644 |
--- a/webrtc/api/peerconnectioninterface.h |
+++ b/webrtc/api/peerconnectioninterface.h |
@@ -175,6 +175,11 @@ class PeerConnectionInterface : public rtc::RefCountInterface { |
std::vector<std::string> urls; |
std::string username; |
std::string password; |
+ bool operator==(const IceServer& o) const { |
+ return uri == o.uri && urls == o.urls && username == o.username && |
+ password == o.password; |
+ } |
+ bool operator!=(const IceServer& o) const { return !(*this == o); } |
}; |
typedef std::vector<IceServer> IceServers; |