Index: content/public/common/media_stream_request.h |
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h |
index c4c838fb6e376a216a3bbc1c979896ff95ee423e..b5704ef6cd31f9adbda2b1fe08f9d1ce9b7d7e28 100644 |
--- a/content/public/common/media_stream_request.h |
+++ b/content/public/common/media_stream_request.h |
@@ -78,6 +78,12 @@ struct CONTENT_EXPORT MediaStreamDevice { |
MediaStreamType type, |
const std::string& id, |
const std::string& name, |
+ const GURL& security_origin); |
+ |
+ MediaStreamDevice( |
+ MediaStreamType type, |
+ const std::string& id, |
+ const std::string& name, |
int sample_rate, |
int channel_layout, |
int frames_per_buffer); |
@@ -102,6 +108,9 @@ struct CONTENT_EXPORT MediaStreamDevice { |
// The device's "friendly" name. Not guaranteed to be unique. |
std::string name; |
+ // The security origin associated with the corresponding MediaStreamRequest. |
+ GURL security_origin; |
+ |
// Contains properties that match directly with those with the same name |
// in media::AudioParameters. |
struct AudioDeviceParameters { |