| OLD | NEW |
| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 webrtc::PeerConnectionObserver* observer) OVERRIDE; | 135 webrtc::PeerConnectionObserver* observer) OVERRIDE; |
| 136 virtual scoped_refptr<webrtc::AudioSourceInterface> | 136 virtual scoped_refptr<webrtc::AudioSourceInterface> |
| 137 CreateLocalAudioSource( | 137 CreateLocalAudioSource( |
| 138 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; | 138 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; |
| 139 virtual scoped_refptr<webrtc::VideoSourceInterface> | 139 virtual scoped_refptr<webrtc::VideoSourceInterface> |
| 140 CreateLocalVideoSource( | 140 CreateLocalVideoSource( |
| 141 int video_session_id, | 141 int video_session_id, |
| 142 bool is_screencast, | 142 bool is_screencast, |
| 143 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; | 143 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; |
| 144 virtual bool InitializeAudioSource( | 144 virtual bool InitializeAudioSource( |
| 145 const StreamDeviceInfo& device_info) OVERRIDE; | 145 int render_view_id, const StreamDeviceInfo& device_info) OVERRIDE; |
| 146 virtual bool CreateWebAudioSource( | 146 virtual bool CreateWebAudioSource( |
| 147 WebKit::WebMediaStreamSource* source) OVERRIDE; | 147 WebKit::WebMediaStreamSource* source) OVERRIDE; |
| 148 virtual scoped_refptr<webrtc::MediaStreamInterface> | 148 virtual scoped_refptr<webrtc::MediaStreamInterface> |
| 149 CreateLocalMediaStream(const std::string& label) OVERRIDE; | 149 CreateLocalMediaStream(const std::string& label) OVERRIDE; |
| 150 virtual scoped_refptr<webrtc::VideoTrackInterface> | 150 virtual scoped_refptr<webrtc::VideoTrackInterface> |
| 151 CreateLocalVideoTrack(const std::string& id, | 151 CreateLocalVideoTrack(const std::string& id, |
| 152 webrtc::VideoSourceInterface* source) OVERRIDE; | 152 webrtc::VideoSourceInterface* source) OVERRIDE; |
| 153 virtual scoped_refptr<webrtc::AudioTrackInterface> | 153 virtual scoped_refptr<webrtc::AudioTrackInterface> |
| 154 CreateLocalAudioTrack(const std::string& id, | 154 CreateLocalAudioTrack(const std::string& id, |
| 155 webrtc::AudioSourceInterface* source) OVERRIDE; | 155 webrtc::AudioSourceInterface* source) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 172 bool mock_pc_factory_created_; | 172 bool mock_pc_factory_created_; |
| 173 scoped_refptr <MockAudioSource> last_audio_source_; | 173 scoped_refptr <MockAudioSource> last_audio_source_; |
| 174 scoped_refptr <MockVideoSource> last_video_source_; | 174 scoped_refptr <MockVideoSource> last_video_source_; |
| 175 | 175 |
| 176 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); | 176 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); |
| 177 }; | 177 }; |
| 178 | 178 |
| 179 } // namespace content | 179 } // namespace content |
| 180 | 180 |
| 181 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ | 181 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ |
| OLD | NEW |