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

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

Issue 2563653002: Replace AudioManager::GetAudio*DeviceNames with AudioManager::GetAudio*DeviceDescriptions (Closed)
Patch Set: fix for windows 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..3bc8fd95027927bd756d432f5756fc2bbb5787de 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/audio/audio_device_description.h"
Guido Urdaneta 2016/12/08 15:53:37 include not necessary. just declaring media::Audio
o1ka 2016/12/09 14:56:30 Done.
namespace content {
@@ -24,6 +25,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;

Powered by Google App Engine
This is Rietveld 408576698