| Index: webrtc/api/jsepsessiondescription.h
|
| diff --git a/webrtc/api/jsepsessiondescription.h b/webrtc/api/jsepsessiondescription.h
|
| index 244ee1921277656b64e9361f7f1db1bd87964b13..84a5464ad0c797365b7563845b0bdb31af4aa3e7 100644
|
| --- a/webrtc/api/jsepsessiondescription.h
|
| +++ b/webrtc/api/jsepsessiondescription.h
|
| @@ -19,6 +19,7 @@
|
| #include "webrtc/api/jsep.h"
|
| #include "webrtc/api/jsepicecandidate.h"
|
| #include "webrtc/base/scoped_ptr.h"
|
| +#include "webrtc/p2p/base/candidate.h"
|
|
|
| namespace cricket {
|
| class SessionDescription;
|
| @@ -57,6 +58,7 @@ class JsepSessionDescription : public SessionDescriptionInterface {
|
| // Allow changing the type. Used for testing.
|
| void set_type(const std::string& type) { type_ = type; }
|
| virtual bool AddCandidate(const IceCandidateInterface* candidate);
|
| + virtual size_t RemoveCandidates(const cricket::Candidates& candidates);
|
| virtual size_t number_of_mediasections() const;
|
| virtual const IceCandidateCollection* candidates(
|
| size_t mediasection_index) const;
|
| @@ -80,6 +82,7 @@ class JsepSessionDescription : public SessionDescriptionInterface {
|
|
|
| bool GetMediasectionIndex(const IceCandidateInterface* candidate,
|
| size_t* index);
|
| + int GetMediasectionIndex(const cricket::Candidate& candidate);
|
|
|
| RTC_DISALLOW_COPY_AND_ASSIGN(JsepSessionDescription);
|
| };
|
|
|