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

Unified Diff: content/common/media/media_stream_options.cc

Issue 2487133003: Remove dead code related to media device enumerations and monitoring. (Closed)
Patch Set: rebase Created 4 years, 1 month 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.h ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/media_stream_options.cc
diff --git a/content/common/media/media_stream_options.cc b/content/common/media/media_stream_options.cc
index 2a4c166ff5c9b549daedfb7884c99b9b1d9e1efc..ba390927fba335ed4c9cd8379d97887f0ad7ed4b 100644
--- a/content/common/media/media_stream_options.cc
+++ b/content/common/media/media_stream_options.cc
@@ -45,28 +45,18 @@ StreamDeviceInfo::StreamDeviceInfo()
StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param,
const std::string& name_param,
- const std::string& device_param,
- const std::string& group_param)
- : device(service_param, device_param, name_param, group_param),
- session_id(kNoId) {}
-
-StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param,
- const std::string& name_param,
const std::string& device_param)
- : StreamDeviceInfo(service_param, name_param, device_param, std::string()) {
-}
+ : device(service_param, device_param, name_param), session_id(kNoId) {}
StreamDeviceInfo::StreamDeviceInfo(MediaStreamType service_param,
const std::string& name_param,
const std::string& device_param,
- const std::string& group_param,
int sample_rate,
int channel_layout,
int frames_per_buffer)
: device(service_param,
device_param,
name_param,
- group_param,
sample_rate,
channel_layout,
frames_per_buffer),
« no previous file with comments | « content/common/media/media_stream_options.h ('k') | content/public/common/media_stream_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698