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

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

Issue 2323913007: Add constructor taking group ID to MediaStreamDevice and StreamDeviceInfo (Closed)
Patch Set: Fix constructor Created 4 years, 3 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/common/media/media_stream_options.cc ('k') | content/public/common/media_stream_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26b2bf1121b1e8d2187299305663f7876fc0047a..55171ab9489b3ffccaf6121e32799514e34985a0 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -94,18 +94,22 @@ CONTENT_EXPORT bool IsScreenCaptureMediaType(MediaStreamType type);
struct CONTENT_EXPORT MediaStreamDevice {
MediaStreamDevice();
- MediaStreamDevice(
- MediaStreamType type,
- const std::string& id,
- const std::string& name);
-
- MediaStreamDevice(
- MediaStreamType type,
- const std::string& id,
- const std::string& name,
- int sample_rate,
- int channel_layout,
- int frames_per_buffer);
+ MediaStreamDevice(MediaStreamType type,
+ const std::string& id,
+ const std::string& name);
+
+ MediaStreamDevice(MediaStreamType type,
+ const std::string& id,
+ const std::string& name,
+ const std::string& group_id);
+
+ MediaStreamDevice(MediaStreamType type,
+ const std::string& id,
+ const std::string& name,
+ const std::string& group_id,
+ int sample_rate,
+ int channel_layout,
+ int frames_per_buffer);
MediaStreamDevice(const MediaStreamDevice& other);
« no previous file with comments | « content/common/media/media_stream_options.cc ('k') | content/public/common/media_stream_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698