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

Unified Diff: content/renderer/media/mock_media_stream_dispatcher.cc

Issue 11232014: Move a bunch of code in content\renderer to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_media_stream_dispatcher.cc
===================================================================
--- content/renderer/media/mock_media_stream_dispatcher.cc (revision 163045)
+++ 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
« no previous file with comments | « content/renderer/media/mock_media_stream_dispatcher.h ('k') | content/renderer/media/peer_connection_handler_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698