Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: content/renderer/media/rtc_certificate.h

Issue 2828563002: RTCCertificate.getFingerprints added (exposed to the web) (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/data/webrtc/peerconnection.js ('k') | content/renderer/media/rtc_certificate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/test/data/webrtc/peerconnection.js ('k') | content/renderer/media/rtc_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698