Chromium Code Reviews| 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, |