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

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

Issue 1949033002: Ability to persist RTCCertificate in IndexedDB (enables cloning). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/renderer/media/rtc_certificate.cc ('k') | content/renderer/media/rtc_certificate_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_certificate_generator.h
diff --git a/content/renderer/media/rtc_certificate_generator.h b/content/renderer/media/rtc_certificate_generator.h
index b582af9ea1a1d333b1596acfe07f1dfd486d94b8..3858db265cc947ca2fce961a908d64d4988702d8 100644
--- a/content/renderer/media/rtc_certificate_generator.h
+++ b/content/renderer/media/rtc_certificate_generator.h
@@ -34,6 +34,9 @@ class RTCCertificateGenerator : public blink::WebRTCCertificateGenerator {
uint64_t expires_ms,
std::unique_ptr<blink::WebRTCCertificateCallback> observer) override;
bool isSupportedKeyParams(const blink::WebRTCKeyParams& key_params) override;
+ std::unique_ptr<blink::WebRTCCertificate> fromPEM(
+ const std::string& pem_private_key,
+ const std::string& pem_certificate) override;
private:
void generateCertificateWithOptionalExpiration(
« no previous file with comments | « content/renderer/media/rtc_certificate.cc ('k') | content/renderer/media/rtc_certificate_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698