| 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..e3075030b374f9339cd4d2f1deeb8812aa3d4f7d 100644
|
| --- a/content/renderer/media/rtc_certificate_generator.h
|
| +++ b/content/renderer/media/rtc_certificate_generator.h
|
| @@ -6,10 +6,12 @@
|
| #define CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_GENERATOR_H_
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| #include "third_party/WebKit/public/platform/WebRTCCertificate.h"
|
| #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"
|
|
|
| namespace content {
|
|
|
| @@ -38,6 +40,10 @@ class RTCCertificateGenerator : public blink::WebRTCCertificateGenerator {
|
| const std::string& pem_private_key,
|
| const std::string& pem_certificate) override;
|
|
|
| + static scoped_refptr<rtc::RTCCertificate> generateCertificateAndWait(
|
| + const rtc::KeyParams& key_params,
|
| + const rtc::Optional<uint64_t>& expires_ms);
|
| +
|
| private:
|
| void generateCertificateWithOptionalExpiration(
|
| const blink::WebRTCKeyParams& key_params,
|
|
|