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

Side by Side Diff: content/renderer/media/mock_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, 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 | Annotate | Revision Log
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_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 talk_base::Thread* signaling_thread, 81 talk_base::Thread* signaling_thread,
82 content::P2PSocketDispatcher* socket_dispatcher, 82 content::P2PSocketDispatcher* socket_dispatcher,
83 talk_base::NetworkManager* network_manager, 83 talk_base::NetworkManager* network_manager,
84 talk_base::PacketSocketFactory* socket_factory) OVERRIDE; 84 talk_base::PacketSocketFactory* socket_factory) OVERRIDE;
85 virtual void ReleasePeerConnectionFactory() OVERRIDE; 85 virtual void ReleasePeerConnectionFactory() OVERRIDE;
86 virtual bool PeerConnectionFactoryCreated() OVERRIDE; 86 virtual bool PeerConnectionFactoryCreated() OVERRIDE;
87 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface> 87 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
88 CreatePeerConnection( 88 CreatePeerConnection(
89 const std::string& config, 89 const std::string& config,
90 webrtc::PeerConnectionObserver* observer) OVERRIDE; 90 webrtc::PeerConnectionObserver* observer) OVERRIDE;
91 virtual talk_base::scoped_refptr<webrtc::PeerConnectionInterface>
92 CreateRoapPeerConnection(
93 const std::string& config,
94 webrtc::PeerConnectionObserver* observer) OVERRIDE;
95 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> 91 virtual talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface>
96 CreateLocalMediaStream(const std::string& label) OVERRIDE; 92 CreateLocalMediaStream(const std::string& label) OVERRIDE;
97 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface> 93 virtual talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>
98 CreateLocalVideoTrack( 94 CreateLocalVideoTrack(
99 const std::string& label, 95 const std::string& label,
100 int video_session_id) OVERRIDE; 96 int video_session_id) OVERRIDE;
101 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface> 97 virtual talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>
102 CreateLocalAudioTrack( 98 CreateLocalAudioTrack(
103 const std::string& label, 99 const std::string& label,
104 webrtc::AudioDeviceModule* audio_device) OVERRIDE; 100 webrtc::AudioDeviceModule* audio_device) OVERRIDE;
105 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription( 101 virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
106 const std::string& sdp) OVERRIDE; 102 const std::string& sdp) OVERRIDE;
107 virtual webrtc::IceCandidateInterface* CreateIceCandidate( 103 virtual webrtc::IceCandidateInterface* CreateIceCandidate(
108 const std::string& label, 104 const std::string& label,
109 const std::string& sdp) OVERRIDE; 105 const std::string& sdp) OVERRIDE;
110 106
111 private: 107 private:
112 bool mock_pc_factory_created_; 108 bool mock_pc_factory_created_;
113 109
114 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); 110 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory);
115 }; 111 };
116 112
117 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 113 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_impl_unittest.cc ('k') | content/renderer/media/mock_media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698