OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 // not have direct access to WebRTC. | 21 // not have direct access to WebRTC. |
22 class CONTENT_EXPORT RTCCertificate | 22 class CONTENT_EXPORT RTCCertificate |
23 : public NON_EXPORTED_BASE(blink::WebRTCCertificate) { | 23 : public NON_EXPORTED_BASE(blink::WebRTCCertificate) { |
24 public: | 24 public: |
25 RTCCertificate(const rtc::scoped_refptr<rtc::RTCCertificate>& certificate); | 25 RTCCertificate(const rtc::scoped_refptr<rtc::RTCCertificate>& certificate); |
26 ~RTCCertificate() override; | 26 ~RTCCertificate() override; |
27 | 27 |
28 // blink::WebRTCCertificate implementation. | 28 // blink::WebRTCCertificate implementation. |
29 std::unique_ptr<blink::WebRTCCertificate> ShallowCopy() const override; | 29 std::unique_ptr<blink::WebRTCCertificate> ShallowCopy() const override; |
30 uint64_t Expires() const override; | 30 uint64_t Expires() const override; |
| 31 blink::WebVector<blink::WebRTCDtlsFingerprint> GetFingerprints() |
| 32 const override; |
31 blink::WebRTCCertificatePEM ToPEM() const override; | 33 blink::WebRTCCertificatePEM ToPEM() const override; |
32 bool Equals(const blink::WebRTCCertificate& other) const override; | 34 bool Equals(const blink::WebRTCCertificate& other) const override; |
33 | 35 |
34 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; | 36 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; |
35 | 37 |
36 private: | 38 private: |
37 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; | 39 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
38 | 40 |
39 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); | 41 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace content | 44 } // namespace content |
43 | 45 |
44 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ | 46 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ |
OLD | NEW |