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

Side by Side Diff: content/renderer/media/media_stream_dependency_factory_stub.cc

Issue 9302030: Fix build when webrtc is disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/media/media_stream_impl_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/renderer/media/media_stream_dependency_factory.h" 5 #include "content/renderer/media/media_stream_dependency_factory.h"
6 6
7 MediaStreamDependencyFactory::MediaStreamDependencyFactory() {} 7 MediaStreamDependencyFactory::MediaStreamDependencyFactory() {}
8 8
9 MediaStreamDependencyFactory::~MediaStreamDependencyFactory() {} 9 MediaStreamDependencyFactory::~MediaStreamDependencyFactory() {}
10 10
11 cricket::WebRtcMediaEngine*
12 MediaStreamDependencyFactory::CreateWebRtcMediaEngine() {
13 return NULL;
14 }
15
16 bool MediaStreamDependencyFactory::CreatePeerConnectionFactory( 11 bool MediaStreamDependencyFactory::CreatePeerConnectionFactory(
17 cricket::MediaEngineInterface* media_engine, 12 talk_base::Thread* worker_thread,
18 talk_base::Thread* worker_thread) { 13 talk_base::Thread* signaling_thread,
14 content::P2PSocketDispatcher* socket_dispatcher,
15 talk_base::NetworkManager* network_manager,
16 talk_base::PacketSocketFactory* socket_factory) {
19 return false; 17 return false;
20 } 18 }
21 19
22 void MediaStreamDependencyFactory::DeletePeerConnectionFactory() { 20 void MediaStreamDependencyFactory::ReleasePeerConnectionFactory() {
23 } 21 }
24 22
25 bool MediaStreamDependencyFactory::PeerConnectionFactoryCreated() { 23 bool MediaStreamDependencyFactory::PeerConnectionFactoryCreated() {
26 return false; 24 return false;
27 } 25 }
28 26
29 cricket::PortAllocator* MediaStreamDependencyFactory::CreatePortAllocator( 27 talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
30 content::P2PSocketDispatcher* socket_dispatcher, 28 MediaStreamDependencyFactory::CreatePeerConnection(
31 talk_base::NetworkManager* network_manager, 29 const std::string& config,
32 talk_base::PacketSocketFactory* socket_factory, 30 webrtc::PeerConnectionObserver* observer) {
33 const webkit_glue::P2PTransport::Config& config) {
34 return NULL; 31 return NULL;
35 } 32 }
36 33
37 webrtc::PeerConnection* MediaStreamDependencyFactory::CreatePeerConnection( 34 talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
38 cricket::PortAllocator* port_allocator, 35 MediaStreamDependencyFactory::CreateLocalMediaStream(const std::string& label) {
39 talk_base::Thread* signaling_thread) {
40 return NULL; 36 return NULL;
41 } 37 }
38
39 talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
40 MediaStreamDependencyFactory::CreateLocalVideoTrack(
41 const std::string& label,
42 cricket::VideoCapturer* video_device) {
43 return NULL;
44 }
45
46 talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
47 MediaStreamDependencyFactory::CreateLocalAudioTrack(
48 const std::string& label,
49 webrtc::AudioDeviceModule* audio_device) {
50 return NULL;
51 }
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/media_stream_impl_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698