Chromium Code Reviews| Index: content/common/media/media_stream_options.h |
| diff --git a/content/common/media/media_stream_options.h b/content/common/media/media_stream_options.h |
| index 2eb5628342534ddd987023bfc011634a1824388d..556b846637d2e61abf0d906d78799b415a629d4b 100644 |
| --- a/content/common/media/media_stream_options.h |
| +++ b/content/common/media/media_stream_options.h |
| @@ -33,13 +33,9 @@ struct CONTENT_EXPORT TrackControls { |
| // Consider replacing with MediaStreamType enum variables. |
| std::string stream_source; // audio.kMediaStreamSource |
| - // Device ID requests. |
| - // The first set represents required devices - either grab one or fail. |
| - // The second set represents optional devices - if we can't get one of |
| - // these, we will grab the default device (if possible). |
| - // The constraint names are "sourceId" and "chromeMediaSourceId". |
| - std::vector<std::string> device_ids; |
| - std::vector<std::string> alternate_device_ids; |
| + // Empty string represents the default device. |
| + // Nonempty string represents a specific device. |
|
hta - Chromium
2016/11/30 18:51:42
Nit, English: "An empty string represents the defa
Guido Urdaneta
2016/12/01 10:28:53
Done.
|
| + std::string device_id; |
| }; |
| // StreamControls describes what is sent to the browser process |