| 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/macros.h" | 10 #include "base/macros.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 class RTCCertificate : public blink::WebRTCCertificate { | 21 class RTCCertificate : public blink::WebRTCCertificate { |
| 22 public: | 22 public: |
| 23 RTCCertificate(const blink::WebRTCKeyParams& key_params, | 23 RTCCertificate(const blink::WebRTCKeyParams& key_params, |
| 24 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate); | 24 const rtc::scoped_refptr<rtc::RTCCertificate>& certificate); |
| 25 ~RTCCertificate() override; | 25 ~RTCCertificate() override; |
| 26 | 26 |
| 27 // blink::WebRTCCertificate implementation. | 27 // blink::WebRTCCertificate implementation. |
| 28 std::unique_ptr<blink::WebRTCCertificate> shallowCopy() const override; | 28 std::unique_ptr<blink::WebRTCCertificate> shallowCopy() const override; |
| 29 const blink::WebRTCKeyParams& keyParams() const override; | 29 const blink::WebRTCKeyParams& keyParams() const override; |
| 30 uint64_t expires() const override; | 30 uint64_t expires() const override; |
| 31 bool equals(const blink::WebRTCCertificate& other) const override; |
| 31 | 32 |
| 32 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; | 33 const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const; |
| 33 | 34 |
| 34 private: | 35 private: |
| 35 blink::WebRTCKeyParams key_params_; | 36 blink::WebRTCKeyParams key_params_; |
| 36 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; | 37 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; |
| 37 | 38 |
| 38 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); | 39 DISALLOW_COPY_AND_ASSIGN(RTCCertificate); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace content | 42 } // namespace content |
| 42 | 43 |
| 43 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ | 44 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_H_ |
| OLD | NEW |