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

Side by Side Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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 // MediaStreamManager is used to open/enumerate media capture devices (video 5 // MediaStreamManager is used to open/enumerate media capture devices (video
6 // supported now). Call flow: 6 // supported now). Call flow:
7 // 1. GenerateStream is called when a render process wants to use a capture 7 // 1. GenerateStream is called when a render process wants to use a capture
8 // device. 8 // device.
9 // 2. MediaStreamManager will ask MediaStreamUIController for permission to 9 // 2. MediaStreamManager will ask MediaStreamUIController for permission to
10 // use devices and for which device to use. 10 // use devices and for which device to use.
(...skipping 17 matching lines...) Expand all
28 28
29 #include "base/basictypes.h" 29 #include "base/basictypes.h"
30 #include "base/memory/scoped_ptr.h" 30 #include "base/memory/scoped_ptr.h"
31 #include "base/memory/ref_counted.h" 31 #include "base/memory/ref_counted.h"
32 #include "base/message_loop.h" 32 #include "base/message_loop.h"
33 #include "base/system_monitor/system_monitor.h" 33 #include "base/system_monitor/system_monitor.h"
34 #include "content/browser/renderer_host/media/media_stream_provider.h" 34 #include "content/browser/renderer_host/media/media_stream_provider.h"
35 #include "content/browser/renderer_host/media/media_stream_settings_requester.h" 35 #include "content/browser/renderer_host/media/media_stream_settings_requester.h"
36 #include "content/common/media/media_stream_options.h" 36 #include "content/common/media/media_stream_options.h"
37 #include "content/common/content_export.h" 37 #include "content/common/content_export.h"
38 #include "content/public/browser/browser_thread.h"
39 38
40 namespace base { 39 namespace base {
41 class Thread; 40 class Thread;
42 } 41 }
43 42
44 namespace media { 43 namespace media {
45 class AudioManager; 44 class AudioManager;
46 } 45 }
47 46
48 namespace content { 47 namespace content {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Hold a pointer to the IO loop to check we delete the device thread and 250 // Hold a pointer to the IO loop to check we delete the device thread and
252 // managers on the right thread. 251 // managers on the right thread.
253 MessageLoop* io_loop_; 252 MessageLoop* io_loop_;
254 253
255 DISALLOW_COPY_AND_ASSIGN(MediaStreamManager); 254 DISALLOW_COPY_AND_ASSIGN(MediaStreamManager);
256 }; 255 };
257 256
258 } // namespace content 257 } // namespace content
259 258
260 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_MANAGER_H_ 259 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_MEDIA_STREAM_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698