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

Unified Diff: content/common/media/media_devices.h

Issue 2703393007: Show meaningful name for cameras (Closed)
Patch Set: fix trybot 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/browser/renderer_host/media/media_stream_manager.cc ('k') | content/common/media/media_devices.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/media_devices.h
diff --git a/content/common/media/media_devices.h b/content/common/media/media_devices.h
index a7bf705cd48d9780bc22dde25f346f9e60cf55a7..c0cd354d258aef7d09e3b149bd997ba21987f671 100644
--- a/content/common/media/media_devices.h
+++ b/content/common/media/media_devices.h
@@ -9,6 +9,7 @@
#include <vector>
#include "content/common/content_export.h"
+#include "media/base/video_facing.h"
namespace media {
struct AudioDeviceDescription;
@@ -41,6 +42,7 @@ struct CONTENT_EXPORT MediaDeviceInfo {
std::string device_id;
std::string label;
std::string group_id;
+ media::VideoFacingMode video_facing;
};
using MediaDeviceInfoArray = std::vector<MediaDeviceInfo>;
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/common/media/media_devices.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698