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

Unified Diff: content/renderer/media/rtc_certificate.h

Issue 1909923002: Making RTCCertificate cloneable (WIP). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Derp! Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/webrtc/webrtc_video_quality_test.html ('k') | content/renderer/media/rtc_certificate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_certificate.h
diff --git a/content/renderer/media/rtc_certificate.h b/content/renderer/media/rtc_certificate.h
index 60af2492a2eda7e26d98378c3f21d8a57ce3909d..577ae58e96bb465a443cc24c3de2751968af457f 100644
--- a/content/renderer/media/rtc_certificate.h
+++ b/content/renderer/media/rtc_certificate.h
@@ -9,7 +9,6 @@
#include "base/macros.h"
#include "third_party/WebKit/public/platform/WebRTCCertificate.h"
-#include "third_party/WebKit/public/platform/WebRTCKeyParams.h"
#include "third_party/webrtc/base/rtccertificate.h"
#include "third_party/webrtc/base/scoped_ref_ptr.h"
@@ -20,19 +19,18 @@ namespace content {
// not have direct access to WebRTC.
class RTCCertificate : public blink::WebRTCCertificate {
public:
- RTCCertificate(const blink::WebRTCKeyParams& key_params,
- const rtc::scoped_refptr<rtc::RTCCertificate>& certificate);
+ RTCCertificate(const rtc::scoped_refptr<rtc::RTCCertificate>& certificate);
~RTCCertificate() override;
// blink::WebRTCCertificate implementation.
std::unique_ptr<blink::WebRTCCertificate> shallowCopy() const override;
- const blink::WebRTCKeyParams& keyParams() const override;
uint64_t expires() const override;
+ blink::WebRTCCertificatePEM toPEM() const override;
+ bool equals(const blink::WebRTCCertificate& other) const override;
const rtc::scoped_refptr<rtc::RTCCertificate>& rtcCertificate() const;
private:
- blink::WebRTCKeyParams key_params_;
rtc::scoped_refptr<rtc::RTCCertificate> certificate_;
DISALLOW_COPY_AND_ASSIGN(RTCCertificate);
« no previous file with comments | « chrome/test/data/webrtc/webrtc_video_quality_test.html ('k') | content/renderer/media/rtc_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698