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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/media_stream_impl_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_dependency_factory_stub.cc
===================================================================
--- content/renderer/media/media_stream_dependency_factory_stub.cc (revision 121195)
+++ content/renderer/media/media_stream_dependency_factory_stub.cc (working copy)
@@ -1,51 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/renderer/media/media_stream_dependency_factory.h"
-
-MediaStreamDependencyFactory::MediaStreamDependencyFactory() {}
-
-MediaStreamDependencyFactory::~MediaStreamDependencyFactory() {}
-
-bool MediaStreamDependencyFactory::CreatePeerConnectionFactory(
- talk_base::Thread* worker_thread,
- talk_base::Thread* signaling_thread,
- content::P2PSocketDispatcher* socket_dispatcher,
- talk_base::NetworkManager* network_manager,
- talk_base::PacketSocketFactory* socket_factory) {
- return false;
-}
-
-void MediaStreamDependencyFactory::ReleasePeerConnectionFactory() {
-}
-
-bool MediaStreamDependencyFactory::PeerConnectionFactoryCreated() {
- return false;
-}
-
-talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
-MediaStreamDependencyFactory::CreatePeerConnection(
- const std::string& config,
- webrtc::PeerConnectionObserver* observer) {
- return NULL;
-}
-
-talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
-MediaStreamDependencyFactory::CreateLocalMediaStream(const std::string& label) {
- return NULL;
-}
-
-talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
-MediaStreamDependencyFactory::CreateLocalVideoTrack(
- const std::string& label,
- cricket::VideoCapturer* video_device) {
- return NULL;
-}
-
-talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
-MediaStreamDependencyFactory::CreateLocalAudioTrack(
- const std::string& label,
- webrtc::AudioDeviceModule* audio_device) {
- return NULL;
-}
« 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