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

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

Issue 9369022: disable media stream creation when enable_webrtc=0 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: code review 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 | « content/content_renderer.gypi ('k') | 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/renderer/media/media_stream_dependency_factory.h"
6
7 MediaStreamDependencyFactory::MediaStreamDependencyFactory() {}
8
9 MediaStreamDependencyFactory::~MediaStreamDependencyFactory() {}
10
11 bool MediaStreamDependencyFactory::CreatePeerConnectionFactory(
12 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) {
17 return false;
18 }
19
20 void MediaStreamDependencyFactory::ReleasePeerConnectionFactory() {
21 }
22
23 bool MediaStreamDependencyFactory::PeerConnectionFactoryCreated() {
24 return false;
25 }
26
27 talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
28 MediaStreamDependencyFactory::CreatePeerConnection(
29 const std::string& config,
30 webrtc::PeerConnectionObserver* observer) {
31 return NULL;
32 }
33
34 talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
35 MediaStreamDependencyFactory::CreateLocalMediaStream(const std::string& label) {
36 return NULL;
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 | « content/content_renderer.gypi ('k') | content/renderer/media/media_stream_impl_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698