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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 11339014: Move content\browser\renderer_host\media to content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/browser/renderer_host/media/media_stream_manager.h
===================================================================
--- content/browser/renderer_host/media/media_stream_manager.h (revision 164646)
+++ content/browser/renderer_host/media/media_stream_manager.h (working copy)
@@ -41,18 +41,14 @@
class Thread;
}
-namespace content {
-class MediaStreamUIController;
-}
-
namespace media {
class AudioManager;
}
-namespace media_stream {
-
+namespace content {
class AudioInputDeviceManager;
class MediaStreamDeviceSettings;
+class MediaStreamUIController;
tfarina 2012/10/29 17:41:34 nit: sort
jam 2012/10/29 18:14:45 Done.
class MediaStreamRequester;
class VideoCaptureManager;
@@ -141,12 +137,12 @@
// are not used anymore, otherwise UI will leak.
void NotifyUIDevicesOpened(int render_process_id,
int render_view_id,
- const content::MediaStreamDevices& devices);
+ const MediaStreamDevices& devices);
// Signals the UI that the devices are being closed.
void NotifyUIDevicesClosed(int render_process_id,
int render_view_id,
- const content::MediaStreamDevices& devices);
+ const MediaStreamDevices& devices);
// Implements MediaStreamProviderListener.
virtual void Opened(MediaStreamType stream_type,
@@ -195,7 +191,7 @@
void NotifyDevicesOpened(const DeviceRequest& request);
void NotifyDevicesClosed(const DeviceRequest& request);
void DevicesFromRequest(const DeviceRequest& request,
- content::MediaStreamDevices* devices);
+ MediaStreamDevices* devices);
// Helpers.
bool RequestDone(const MediaStreamManager::DeviceRequest& request) const;
@@ -226,7 +222,7 @@
// Device thread shared by VideoCaptureManager and AudioInputDeviceManager.
scoped_ptr<base::Thread> device_thread_;
- scoped_ptr<content::MediaStreamUIController> ui_controller_;
+ scoped_ptr<MediaStreamUIController> ui_controller_;
media::AudioManager* const audio_manager_; // not owned
scoped_refptr<AudioInputDeviceManager> audio_input_device_manager_;
@@ -242,7 +238,7 @@
// Keeps track of live enumeration commands sent to VideoCaptureManager or
// AudioInputDeviceManager, in order to only enumerate when necessary.
- int active_enumeration_ref_count_[content::NUM_MEDIA_TYPES];
+ int active_enumeration_ref_count_[NUM_MEDIA_TYPES];
// All non-closed request.
typedef std::map<std::string, DeviceRequest> DeviceRequests;
@@ -258,6 +254,6 @@
DISALLOW_COPY_AND_ASSIGN(MediaStreamManager);
};
-} // namespace media_stream
+} // namespace content
#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698