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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // A mock factory for creating different objects for 111 // A mock factory for creating different objects for
112 // RTC MediaStreams and PeerConnections. 112 // RTC MediaStreams and PeerConnections.
113 class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory { 113 class MockMediaStreamDependencyFactory : public MediaStreamDependencyFactory {
114 public: 114 public:
115 MockMediaStreamDependencyFactory(); 115 MockMediaStreamDependencyFactory();
116 virtual ~MockMediaStreamDependencyFactory(); 116 virtual ~MockMediaStreamDependencyFactory();
117 117
118 virtual scoped_refptr<webrtc::PeerConnectionInterface> CreatePeerConnection( 118 virtual scoped_refptr<webrtc::PeerConnectionInterface> CreatePeerConnection(
119 const webrtc::PeerConnectionInterface::IceServers& ice_servers, 119 const webrtc::PeerConnectionInterface::IceServers& ice_servers,
120 const webrtc::MediaConstraintsInterface* constraints, 120 const webrtc::MediaConstraintsInterface* constraints,
121 WebKit::WebFrame* frame, 121 blink::WebFrame* frame,
122 webrtc::PeerConnectionObserver* observer) OVERRIDE; 122 webrtc::PeerConnectionObserver* observer) OVERRIDE;
123 virtual scoped_refptr<webrtc::AudioSourceInterface> 123 virtual scoped_refptr<webrtc::AudioSourceInterface>
124 CreateLocalAudioSource( 124 CreateLocalAudioSource(
125 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; 125 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
126 virtual scoped_refptr<webrtc::VideoSourceInterface> 126 virtual scoped_refptr<webrtc::VideoSourceInterface>
127 CreateLocalVideoSource( 127 CreateLocalVideoSource(
128 int video_session_id, 128 int video_session_id,
129 bool is_screencast, 129 bool is_screencast,
130 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE; 130 const webrtc::MediaConstraintsInterface* constraints) OVERRIDE;
131 virtual scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource( 131 virtual scoped_refptr<WebAudioCapturerSource> CreateWebAudioSource(
132 WebKit::WebMediaStreamSource* source, 132 blink::WebMediaStreamSource* source,
133 RTCMediaConstraints* constraints) OVERRIDE; 133 RTCMediaConstraints* constraints) OVERRIDE;
134 virtual scoped_refptr<webrtc::MediaStreamInterface> 134 virtual scoped_refptr<webrtc::MediaStreamInterface>
135 CreateLocalMediaStream(const std::string& label) OVERRIDE; 135 CreateLocalMediaStream(const std::string& label) OVERRIDE;
136 virtual scoped_refptr<webrtc::VideoTrackInterface> 136 virtual scoped_refptr<webrtc::VideoTrackInterface>
137 CreateLocalVideoTrack(const std::string& id, 137 CreateLocalVideoTrack(const std::string& id,
138 webrtc::VideoSourceInterface* source) OVERRIDE; 138 webrtc::VideoSourceInterface* source) OVERRIDE;
139 virtual scoped_refptr<webrtc::VideoTrackInterface> 139 virtual scoped_refptr<webrtc::VideoTrackInterface>
140 CreateLocalVideoTrack(const std::string& id, 140 CreateLocalVideoTrack(const std::string& id,
141 cricket::VideoCapturer* capturer) OVERRIDE; 141 cricket::VideoCapturer* capturer) OVERRIDE;
142 virtual scoped_refptr<webrtc::AudioTrackInterface> CreateLocalAudioTrack( 142 virtual scoped_refptr<webrtc::AudioTrackInterface> CreateLocalAudioTrack(
(...skipping 24 matching lines...) Expand all
167 bool mock_pc_factory_created_; 167 bool mock_pc_factory_created_;
168 scoped_refptr <MockAudioSource> last_audio_source_; 168 scoped_refptr <MockAudioSource> last_audio_source_;
169 scoped_refptr <MockVideoSource> last_video_source_; 169 scoped_refptr <MockVideoSource> last_video_source_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory); 171 DISALLOW_COPY_AND_ASSIGN(MockMediaStreamDependencyFactory);
172 }; 172 };
173 173
174 } // namespace content 174 } // namespace content
175 175
176 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_ 176 #endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_STREAM_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « content/renderer/media/midi_message_filter.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