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

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: Addressed comments Created 4 years, 8 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 653039f0f808a9742d2a910a0c6e27881975864b..2f35700e7847ac14683328779117b4fea250dd6e 100644
--- a/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
+++ b/third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
@@ -53,8 +53,13 @@ public:
const WebRTCKeyParams&,
const WebURL&,
const WebURL& firstPartyForCookies,
- std::unique_ptr<WebRTCCertificateCallback> observer)
- = 0;
+ std::unique_ptr<WebRTCCertificateCallback> observer) = 0;
+ virtual void generateCertificateWithExpiration(
+ const WebRTCKeyParams&,
+ const WebURL&,
+ const WebURL& firstPartyForCookies,
+ uint64_t expiresMs,
+ std::unique_ptr<WebRTCCertificateCallback> 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