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

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

Issue 12383016: Merge AssociateStreamWithProducer message into CreateStream message for both audio output and input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698