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

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

Issue 396193005: Converts RTCOfferOptions to constriants in the glue code for createOffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // The video source takes ownership of |capturer|. 96 // The video source takes ownership of |capturer|.
97 virtual scoped_refptr<webrtc::VideoSourceInterface> 97 virtual scoped_refptr<webrtc::VideoSourceInterface>
98 CreateVideoSource(cricket::VideoCapturer* capturer, 98 CreateVideoSource(cricket::VideoCapturer* capturer,
99 const blink::WebMediaConstraints& constraints); 99 const blink::WebMediaConstraints& constraints);
100 100
101 // Asks the libjingle PeerConnection factory to create a libjingle 101 // Asks the libjingle PeerConnection factory to create a libjingle
102 // PeerConnection object. 102 // PeerConnection object.
103 // The PeerConnection object is owned by PeerConnectionHandler. 103 // The PeerConnection object is owned by PeerConnectionHandler.
104 virtual scoped_refptr<webrtc::PeerConnectionInterface> 104 virtual scoped_refptr<webrtc::PeerConnectionInterface>
105 CreatePeerConnection( 105 CreatePeerConnection(
106 const webrtc::PeerConnectionInterface::IceServers& ice_servers, 106 const webrtc::PeerConnectionInterface::RTCConfiguration& config,
107 const webrtc::MediaConstraintsInterface* constraints, 107 const webrtc::MediaConstraintsInterface* constraints,
108 blink::WebFrame* web_frame, 108 blink::WebFrame* web_frame,
109 webrtc::PeerConnectionObserver* observer); 109 webrtc::PeerConnectionObserver* observer);
110 110
111 // Creates a libjingle representation of a Session description. Used by a 111 // Creates a libjingle representation of a Session description. Used by a
112 // RTCPeerConnectionHandler instance. 112 // RTCPeerConnectionHandler instance.
113 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( 113 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
114 const std::string& type, 114 const std::string& type,
115 const std::string& sdp, 115 const std::string& sdp,
116 webrtc::SdpParseError* error); 116 webrtc::SdpParseError* error);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 talk_base::Thread* signaling_thread_; 209 talk_base::Thread* signaling_thread_;
210 talk_base::Thread* worker_thread_; 210 talk_base::Thread* worker_thread_;
211 base::Thread chrome_worker_thread_; 211 base::Thread chrome_worker_thread_;
212 212
213 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory); 213 DISALLOW_COPY_AND_ASSIGN(PeerConnectionDependencyFactory);
214 }; 214 };
215 215
216 } // namespace content 216 } // namespace content
217 217
218 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 218 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698