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

Unified Diff: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h

Issue 1740993002: RTCPeerConnection.generateCertificate: Optionally specify expiration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
diff --git a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
index aa10f885108c35122d5c905745e7309268bf04d8..53764205ebb3212fe12867ee15a258d12a448023 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
@@ -50,6 +50,12 @@ public:
const WebURL&,
const WebURL& firstPartyForCookies,
WebCallbacks<WebRTCCertificate*, void>* observer) = 0;
+ virtual void generateCertificate(
+ const WebRTCKeyParams&,
+ const WebURL&,
+ const WebURL& firstPartyForCookies,
+ uint64_t expiresMs,
+ WebCallbacks<WebRTCCertificate*, void>* observer) = 0;
// Determines if the parameters are supported by generateCertificate.
// For example, if the number of bits of some parameter is too small or too large we

Powered by Google App Engine
This is Rietveld 408576698