| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 // Implements the SessionDescriptionInterface. | 11 // Implements the SessionDescriptionInterface. |
| 12 | 12 |
| 13 #ifndef WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ | 13 #ifndef WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ |
| 14 #define WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ | 14 #define WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ |
| 15 | 15 |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/api/jsep.h" | 19 #include "webrtc/api/jsep.h" |
| 20 #include "webrtc/api/jsepicecandidate.h" | 20 #include "webrtc/api/jsepicecandidate.h" |
| 21 #include "webrtc/base/constructormagic.h" |
| 21 #include "webrtc/base/scoped_ptr.h" | 22 #include "webrtc/base/scoped_ptr.h" |
| 22 #include "webrtc/p2p/base/candidate.h" | 23 #include "webrtc/p2p/base/candidate.h" |
| 23 | 24 |
| 24 namespace cricket { | 25 namespace cricket { |
| 25 class SessionDescription; | 26 class SessionDescription; |
| 26 } | 27 } |
| 27 | 28 |
| 28 namespace webrtc { | 29 namespace webrtc { |
| 29 | 30 |
| 30 class JsepSessionDescription : public SessionDescriptionInterface { | 31 class JsepSessionDescription : public SessionDescriptionInterface { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 bool GetMediasectionIndex(const IceCandidateInterface* candidate, | 84 bool GetMediasectionIndex(const IceCandidateInterface* candidate, |
| 84 size_t* index); | 85 size_t* index); |
| 85 int GetMediasectionIndex(const cricket::Candidate& candidate); | 86 int GetMediasectionIndex(const cricket::Candidate& candidate); |
| 86 | 87 |
| 87 RTC_DISALLOW_COPY_AND_ASSIGN(JsepSessionDescription); | 88 RTC_DISALLOW_COPY_AND_ASSIGN(JsepSessionDescription); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace webrtc | 91 } // namespace webrtc |
| 91 | 92 |
| 92 #endif // WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ | 93 #endif // WEBRTC_API_JSEPSESSIONDESCRIPTION_H_ |
| OLD | NEW |