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

Unified Diff: content/public/browser/media_capture_devices.h

Issue 2634263002: Pass camera facing info to audio client (Closed)
Patch Set: Moved to chrome_browser_main_chromeos.cc Created 3 years, 10 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
« no previous file with comments | « content/common/media/media_stream_messages.h ('k') | media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/media_capture_devices.h
diff --git a/content/public/browser/media_capture_devices.h b/content/public/browser/media_capture_devices.h
index 925fff66c25163756ba535496cdfdf35286128f2..9ed92c2a5ad01ba525ff5aa04d03555c9d5833e8 100644
--- a/content/public/browser/media_capture_devices.h
+++ b/content/public/browser/media_capture_devices.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_MEDIA_CAPTURE_DEVICES_H_
#include "content/public/common/media_stream_request.h"
+#include "media/base/video_facing.h"
namespace content {
@@ -20,6 +21,10 @@ class CONTENT_EXPORT MediaCaptureDevices {
virtual const MediaStreamDevices& GetAudioCaptureDevices() = 0;
virtual const MediaStreamDevices& GetVideoCaptureDevices() = 0;
+ virtual void AddVideoCaptureObserver(
+ media::VideoCaptureObserver* observer) = 0;
+ virtual void RemoveAllVideoCaptureObservers() = 0;
+
private:
// This interface should only be implemented inside content.
friend class MediaCaptureDevicesImpl;
« no previous file with comments | « content/common/media/media_stream_messages.h ('k') | media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698