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 IceCandidateInterface. | 11 // Implements the IceCandidateInterface. |
12 | 12 |
13 #ifndef WEBRTC_API_JSEPICECANDIDATE_H_ | 13 #ifndef WEBRTC_API_JSEPICECANDIDATE_H_ |
14 #define WEBRTC_API_JSEPICECANDIDATE_H_ | 14 #define WEBRTC_API_JSEPICECANDIDATE_H_ |
15 | 15 |
16 #include <string> | 16 #include <string> |
| 17 #include <utility> |
| 18 #include <vector> |
17 | 19 |
18 #include "webrtc/api/jsep.h" | 20 #include "webrtc/api/jsep.h" |
19 #include "webrtc/base/constructormagic.h" | 21 #include "webrtc/base/constructormagic.h" |
20 #include "webrtc/p2p/base/candidate.h" | 22 #include "webrtc/p2p/base/candidate.h" |
21 | 23 |
22 namespace webrtc { | 24 namespace webrtc { |
23 | 25 |
24 class JsepIceCandidate : public IceCandidateInterface { | 26 class JsepIceCandidate : public IceCandidateInterface { |
25 public: | 27 public: |
26 JsepIceCandidate(const std::string& sdp_mid, int sdp_mline_index); | 28 JsepIceCandidate(const std::string& sdp_mid, int sdp_mline_index); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 78 |
77 private: | 79 private: |
78 std::vector<JsepIceCandidate*> candidates_; | 80 std::vector<JsepIceCandidate*> candidates_; |
79 | 81 |
80 RTC_DISALLOW_COPY_AND_ASSIGN(JsepCandidateCollection); | 82 RTC_DISALLOW_COPY_AND_ASSIGN(JsepCandidateCollection); |
81 }; | 83 }; |
82 | 84 |
83 } // namespace webrtc | 85 } // namespace webrtc |
84 | 86 |
85 #endif // WEBRTC_API_JSEPICECANDIDATE_H_ | 87 #endif // WEBRTC_API_JSEPICECANDIDATE_H_ |
OLD | NEW |