Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_GENERATOR_H_ | |
| 6 #define CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_GENERATOR_H_ | |
| 7 | |
| 8 #include "third_party/WebKit/public/platform/WebRTCCertificate.h" | |
| 9 #include "third_party/WebKit/public/platform/WebRTCCertificateGenerator.h" | |
| 10 #include "third_party/WebKit/public/platform/WebRTCKeyType.h" | |
| 11 #include "third_party/webrtc/base/rtccertificate.h" | |
| 12 #include "third_party/webrtc/base/scoped_ref_ptr.h" | |
|
jochen (gone - plz use gerrit)
2015/09/29 07:47:09
most of the includes appear to be unused in this h
hbos_chromium
2015/10/02 15:43:17
Done.
| |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 // Chromium's WebRTCCertificateGenerator implementation; uses the | |
| 17 // PeerConnectionIdentityStore/SSLIdentity::Generate to generate the identity, | |
| 18 // rtc::RTCCertificate and RTCCertificate. | |
| 19 class RTCCertificateGenerator : public blink::WebRTCCertificateGenerator { | |
| 20 public: | |
| 21 ~RTCCertificateGenerator() override { } | |
| 22 | |
| 23 void generateCertificate( | |
| 24 const blink::WebRTCKeyType& keyType, | |
| 25 const blink::WebURL& url, | |
| 26 const blink::WebURL& firstPartyForCookies, | |
| 27 blink::WebCallbacks<blink::WebRTCCertificate*, void>* observer) override; | |
| 28 }; | |
|
jochen (gone - plz use gerrit)
2015/09/29 07:47:09
please add private: DISALLOW_COPY_AND_ASSIGN(RTCCe
hbos_chromium
2015/10/02 15:43:17
Done.
| |
| 29 | |
| 30 } // namespace content | |
| 31 | |
| 32 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_GENERATOR_H_ | |
| OLD | NEW |