| 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> Fingerprints() const override; |
| 31 blink::WebRTCCertificatePEM ToPEM() const override; | 32 blink::WebRTCCertificatePEM ToPEM() const override; |
| 32 bool Equals(const blink::WebRTCCertificate& other) const override; | 33 bool Equals(const blink::WebRTCCertificate& other) const override; |
| 33 | 34 |
| 34 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; | 35 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; |
| 35 | 36 |
| 36 private: | 37 private: |
| 37 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; | 38 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
| 38 | 39 |
| 39 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); | 40 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace content | 43 } // namespace content |
| 43 | 44 |
| 44 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ | 45 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ |
| OLD | NEW |