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 #ifndef WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ | 11 #ifndef WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ |
12 #define WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ | 12 #define WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ |
13 | 13 |
| 14 #include "webrtc/base/rtccertificate.h" |
14 #include "webrtc/p2p/base/transportdescription.h" | 15 #include "webrtc/p2p/base/transportdescription.h" |
15 #include "webrtc/rtc_base/rtccertificate.h" | |
16 | 16 |
17 namespace rtc { | 17 namespace rtc { |
18 class SSLIdentity; | 18 class SSLIdentity; |
19 } | 19 } |
20 | 20 |
21 namespace cricket { | 21 namespace cricket { |
22 | 22 |
23 struct TransportOptions { | 23 struct TransportOptions { |
24 bool ice_restart = false; | 24 bool ice_restart = false; |
25 bool prefer_passive_role = false; | 25 bool prefer_passive_role = false; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 bool SetSecurityInfo(TransportDescription* description, | 69 bool SetSecurityInfo(TransportDescription* description, |
70 ConnectionRole role) const; | 70 ConnectionRole role) const; |
71 | 71 |
72 SecurePolicy secure_; | 72 SecurePolicy secure_; |
73 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; | 73 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace cricket | 76 } // namespace cricket |
77 | 77 |
78 #endif // WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ | 78 #endif // WEBRTC_P2P_BASE_TRANSPORTDESCRIPTIONFACTORY_H_ |
OLD | NEW |