| Index: content/renderer/media/mock_media_stream_dispatcher.cc
|
| ===================================================================
|
| --- content/renderer/media/mock_media_stream_dispatcher.cc (revision 163007)
|
| +++ content/renderer/media/mock_media_stream_dispatcher.cc (working copy)
|
| @@ -7,6 +7,8 @@
|
| #include "base/stringprintf.h"
|
| #include "content/public/common/media_stream_request.h"
|
|
|
| +namespace content {
|
| +
|
| MockMediaStreamDispatcher::MockMediaStreamDispatcher()
|
| : MediaStreamDispatcher(NULL),
|
| request_id_(-1),
|
| @@ -26,7 +28,7 @@
|
| audio_array_.clear();
|
| video_array_.clear();
|
|
|
| - if (content::IsAudioMediaType(components.audio_type)) {
|
| + if (IsAudioMediaType(components.audio_type)) {
|
| media_stream::StreamDeviceInfo audio;
|
| audio.device_id = "audio_device_id";
|
| audio.name = "microphone";
|
| @@ -34,7 +36,7 @@
|
| audio.session_id = request_id;
|
| audio_array_.push_back(audio);
|
| }
|
| - if (content::IsVideoMediaType(components.video_type)) {
|
| + if (IsVideoMediaType(components.video_type)) {
|
| media_stream::StreamDeviceInfo video;
|
| video.device_id = "video_device_id";
|
| video.name = "usb video camera";
|
| @@ -61,3 +63,5 @@
|
| int index) {
|
| return -1;
|
| }
|
| +
|
| +} // namespace content
|
|
|