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

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

Issue 2563653002: Replace AudioManager::GetAudio*DeviceNames with AudioManager::GetAudio*DeviceDescriptions (Closed)
Patch Set: nit fixes Created 4 years 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/common/media/media_devices.h
diff --git a/content/common/media/media_devices.h b/content/common/media/media_devices.h
index 98fab1d4006fb88586dcd2921328a425dc006d24..6ac1e2c5d7e5de67e65b00002ac59b7cb7a59ed9 100644
--- a/content/common/media/media_devices.h
+++ b/content/common/media/media_devices.h
@@ -10,6 +10,10 @@
#include "content/common/content_export.h"
+namespace media {
+struct AudioDeviceDescription;
+}
+
namespace content {
enum MediaDeviceType {
@@ -24,6 +28,9 @@ struct CONTENT_EXPORT MediaDeviceInfo {
MediaDeviceInfo(const std::string& device_id,
const std::string& label,
const std::string& group_id);
+ explicit MediaDeviceInfo(
+ const media::AudioDeviceDescription& device_description);
+
std::string device_id;
std::string label;
std::string group_id;
« no previous file with comments | « content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc ('k') | content/common/media/media_devices.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698