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

Side by Side Diff: content/renderer/media/rtc_certificate_generator.h

Issue 1311853005: RTCCertificate and RTCPeerConnection.generateCertificate added to JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Chromium implementation of Blink interfaces. Addressed comments. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(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"
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 };
29
30 } // namespace content
31
32 #endif // CONTENT_RENDERER_MEDIA_RTC_CERTIFICATE_GENERATOR_H_
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_certificate.cc ('k') | content/renderer/media/rtc_certificate_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698