Index: webrtc/p2p/base/transport.h |
diff --git a/webrtc/p2p/base/transport.h b/webrtc/p2p/base/transport.h |
index 6b4b37d4c56b89e0abc9617ff58b1fc92d96170e..f9eecf53db02ef6fddaee231e498db0b08facf2b 100644 |
--- a/webrtc/p2p/base/transport.h |
+++ b/webrtc/p2p/base/transport.h |
@@ -237,11 +237,8 @@ class Transport : public sigslot::has_slots<> { |
// Called when one or more candidates are ready from the remote peer. |
bool AddRemoteCandidates(const std::vector<Candidate>& candidates, |
std::string* error); |
- |
- // If candidate is not acceptable, returns false and sets error. |
- // Call this before calling OnRemoteCandidates. |
- virtual bool VerifyCandidate(const Candidate& candidate, |
- std::string* error); |
+ bool RemoveRemoteCandidates(const std::vector<Candidate>& candidates, |
+ std::string* error); |
virtual bool GetSslRole(rtc::SSLRole* ssl_role) const { return false; } |
@@ -295,6 +292,11 @@ class Transport : public sigslot::has_slots<> { |
std::string* error_desc); |
private: |
+ // If candidate is not acceptable, returns false and sets error. |
pthatcher1
2016/02/10 00:01:41
candidate => a candidate
honghaiz3
2016/02/10 19:22:44
Done.
|
+ // Call this before calling OnRemoteCandidates. |
+ bool VerifyCandidate(const Candidate& candidate, std::string* error); |
+ bool VerifyCandidates(const Candidates& candidates, std::string* error); |
+ |
// Candidate component => TransportChannelImpl* |
typedef std::map<int, TransportChannelImpl*> ChannelMap; |