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

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

Issue 1972853003: content::RTCCertificateGenerator and WebRTC-EnableWebRtcEcdsa update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted unnecessary CONTENT_EXPORT change and updated comment (no need to re-run trybots yet) 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
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 3858db265cc947ca2fce961a908d64d4988702d8..4d266e6543ded3a7865e8b67f6630170be72f162 100644
--- a/content/renderer/media/rtc_certificate_generator.h
+++ b/content/renderer/media/rtc_certificate_generator.h
@@ -10,6 +10,8 @@
#include "third_party/WebKit/public/platform/WebRTCCertificateGenerator.h"
#include "third_party/WebKit/public/platform/WebRTCKeyParams.h"
#include "third_party/webrtc/base/optional.h"
+#include "third_party/webrtc/base/rtccertificate.h"
+#include "third_party/webrtc/base/scoped_ref_ptr.h"
namespace content {
@@ -38,6 +40,10 @@ class RTCCertificateGenerator : public blink::WebRTCCertificateGenerator {
const std::string& pem_private_key,
const std::string& pem_certificate) override;
+ static rtc::scoped_refptr<rtc::RTCCertificate> generateCertificateAndWait(
tommi (sloooow) - chröme 2016/05/12 12:42:56 since this is in Chrome and not overriding anythin
hbos_chromium 2016/05/12 14:28:00 Done.
+ const rtc::KeyParams& key_params,
+ const rtc::Optional<uint64_t>& expires_ms);
+
private:
void generateCertificateWithOptionalExpiration(
const blink::WebRTCKeyParams& key_params,

Powered by Google App Engine
This is Rietveld 408576698