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

Side by Side Diff: content/renderer/media/media_stream_dependency_factory.h

Issue 10804004: Remove the deprecated PeerConnection that uses the ROAP protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed trailing whitespace in webrtc.py Created 8 years, 4 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_tests.gypi ('k') | content/renderer/media/media_stream_dependency_factory.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 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 talk_base::NetworkManager* network_manager, 51 talk_base::NetworkManager* network_manager,
52 talk_base::PacketSocketFactory* socket_factory); 52 talk_base::PacketSocketFactory* socket_factory);
53 virtual void ReleasePeerConnectionFactory(); 53 virtual void ReleasePeerConnectionFactory();
54 virtual bool PeerConnectionFactoryCreated(); 54 virtual bool PeerConnectionFactoryCreated();
55 55
56 // Asks the PeerConnection factory to create a PeerConnection object. 56 // Asks the PeerConnection factory to create a PeerConnection object.
57 // The PeerConnection object is owned by PeerConnectionHandler. 57 // The PeerConnection object is owned by PeerConnectionHandler.
58 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface> 58 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
59 CreatePeerConnection(const std::string& config, 59 CreatePeerConnection(const std::string& config,
60 webrtc::PeerConnectionObserver* observer); 60 webrtc::PeerConnectionObserver* observer);
61 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
62 CreateRoapPeerConnection(const std::string& config,
63 webrtc::PeerConnectionObserver* observer);
64 61
65 // Asks the PeerConnection factory to create a Local MediaStream object. 62 // Asks the PeerConnection factory to create a Local MediaStream object.
66 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> 63 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
67 CreateLocalMediaStream(const std::string& label); 64 CreateLocalMediaStream(const std::string& label);
68 65
69 // Asks the PeerConnection factory to create a Local VideoTrack object. 66 // Asks the PeerConnection factory to create a Local VideoTrack object.
70 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface> 67 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
71 CreateLocalVideoTrack(const std::string& label, 68 CreateLocalVideoTrack(const std::string& label,
72 int video_session_id); 69 int video_session_id);
73 70
74
75 // Asks the PeerConnection factory to create a Local AudioTrack object. 71 // Asks the PeerConnection factory to create a Local AudioTrack object.
76 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> 72 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
77 CreateLocalAudioTrack(const std::string& label, 73 CreateLocalAudioTrack(const std::string& label,
78 webrtc::AudioDeviceModule* audio_device); 74 webrtc::AudioDeviceModule* audio_device);
79 75
80 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( 76 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
81 const std::string& sdp); 77 const std::string& sdp);
82 virtual webrtc::IceCandidateInterface* CreateIceCandidate( 78 virtual webrtc::IceCandidateInterface* CreateIceCandidate(
83 const std::string& label, 79 const std::string& label,
84 const std::string& sdp); 80 const std::string& sdp);
85 81
86 private: 82 private:
87 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_; 83 talk_base::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory_;
88 scoped_refptr<VideoCaptureImplManager> vc_manager_; 84 scoped_refptr<VideoCaptureImplManager> vc_manager_;
89 85
90 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); 86 DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory);
91 }; 87 };
92 88
93 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 89 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698