Index: chrome/browser/media/media_stream_capture_indicator.h |
diff --git a/chrome/browser/media/media_stream_capture_indicator.h b/chrome/browser/media/media_stream_capture_indicator.h |
index 9acf9775cf895ff8b23315b6bb466b86e8e962bd..23ec38ca8e3eb32b58ae05dd242b4e91995e2fdb 100644 |
--- a/chrome/browser/media/media_stream_capture_indicator.h |
+++ b/chrome/browser/media/media_stream_capture_indicator.h |
@@ -56,11 +56,11 @@ class MediaStreamCaptureIndicator |
// Returns true if the render view is capturing user media (e.g., webcam |
miu
2013/04/03 23:05:21
s/render view/WebContents/
Sergey Ulanov
2013/04/03 23:43:30
Done.
|
// or microphone input). |
- bool IsCapturingUserMedia(int render_process_id, int render_view_id) const; |
+ bool IsCapturingUserMedia(content::WebContents* web_contents) const; |
// Returns true if the render view itself is being mirrored (e.g., a source of |
miu
2013/04/03 23:05:21
here too: s/render view/WebContents/
Sergey Ulanov
2013/04/03 23:43:30
Done.
|
// media for remote broadcast). |
- bool IsBeingMirrored(int render_process_id, int render_view_id) const; |
+ bool IsBeingMirrored(content::WebContents* web_contents) const; |
private: |
class WebContentsDeviceUsage; |
@@ -68,15 +68,6 @@ class MediaStreamCaptureIndicator |
friend class base::RefCountedThreadSafe<MediaStreamCaptureIndicator>; |
virtual ~MediaStreamCaptureIndicator(); |
- // Called by the public functions, executed on UI thread. |
- void DoDevicesOpenedOnUIThread(int render_process_id, |
- int render_view_id, |
- const content::MediaStreamDevices& devices, |
- const base::Closure& close_callback); |
- void DoDevicesClosedOnUIThread(int render_process_id, |
- int render_view_id, |
- const content::MediaStreamDevices& devices); |
- |
// Following functions/variables are executed/accessed only on UI thread. |
// Creates and shows the status tray icon if it has not been created and is |