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

Unified Diff: content/public/common/media_stream_request.h

Issue 139053003: Chrome OS: avoid suspending on lid close when casting is active. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile warning of unused functions. Created 6 years, 11 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
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 {

Powered by Google App Engine
This is Rietveld 408576698