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

Side by Side Diff: content/renderer/media/webrtc/peer_connection_dependency_factory.h

Issue 1972853003: content::RTCCertificateGenerator and WebRTC-EnableWebRtcEcdsa update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 public: 64 public:
65 PeerConnectionDependencyFactory( 65 PeerConnectionDependencyFactory(
66 P2PSocketDispatcher* p2p_socket_dispatcher); 66 P2PSocketDispatcher* p2p_socket_dispatcher);
67 ~PeerConnectionDependencyFactory() override; 67 ~PeerConnectionDependencyFactory() override;
68 68
69 // Create a RTCPeerConnectionHandler object that implements the 69 // Create a RTCPeerConnectionHandler object that implements the
70 // WebKit WebRTCPeerConnectionHandler interface. 70 // WebKit WebRTCPeerConnectionHandler interface.
71 blink::WebRTCPeerConnectionHandler* CreateRTCPeerConnectionHandler( 71 blink::WebRTCPeerConnectionHandler* CreateRTCPeerConnectionHandler(
72 blink::WebRTCPeerConnectionHandlerClient* client); 72 blink::WebRTCPeerConnectionHandlerClient* client);
73 73
74 // Generate an ECDSA certificate.
75 static rtc::scoped_refptr<rtc::RTCCertificate> GenerateDefaultCertificate();
76
77 // Asks the PeerConnection factory to create a Local MediaStream object. 74 // Asks the PeerConnection factory to create a Local MediaStream object.
78 virtual scoped_refptr<webrtc::MediaStreamInterface> 75 virtual scoped_refptr<webrtc::MediaStreamInterface>
79 CreateLocalMediaStream(const std::string& label); 76 CreateLocalMediaStream(const std::string& label);
80 77
81 // InitializeMediaStreamAudioSource initialize a MediaStream source object 78 // InitializeMediaStreamAudioSource initialize a MediaStream source object
82 // for audio input. 79 // for audio input.
83 bool InitializeMediaStreamAudioSource( 80 bool InitializeMediaStreamAudioSource(
84 int render_frame_id, 81 int render_frame_id,
85 const blink::WebMediaConstraints& audio_constraints, 82 const blink::WebMediaConstraints& audio_constraints,
86 MediaStreamAudioSource* source_data); 83 MediaStreamAudioSource* source_data);
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 rtc::Thread* worker_thread_; 217 rtc::Thread* worker_thread_;
221 base::Thread chrome_signaling_thread_; 218 base::Thread chrome_signaling_thread_;
222 base::Thread chrome_worker_thread_; 219 base::Thread chrome_worker_thread_;
223 220
224 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory); 221 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory);
225 }; 222 };
226 223
227 } // namespace content 224 } // namespace content
228 225
229 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 226 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698