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

Unified Diff: content/public/common/media_stream_request.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/public/common/media_stream_request.h ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/media_stream_request.cc
diff --git a/content/public/common/media_stream_request.cc b/content/public/common/media_stream_request.cc
index a79cbd811cb179c93e2d5e8b640ee268069a5e28..42db0e145c81801deb8660c0c279833164199c63 100644
--- a/content/public/common/media_stream_request.cc
+++ b/content/public/common/media_stream_request.cc
@@ -35,13 +35,8 @@ MediaStreamDevice::MediaStreamDevice()
MediaStreamDevice::MediaStreamDevice(MediaStreamType type,
const std::string& id,
- const std::string& name,
- const std::string& group_id)
- : type(type),
- id(id),
- video_facing(MEDIA_VIDEO_FACING_NONE),
- name(name),
- group_id(group_id) {
+ const std::string& name)
+ : type(type), id(id), video_facing(MEDIA_VIDEO_FACING_NONE), name(name) {
#if defined(OS_ANDROID)
if (name.find("front") != std::string::npos) {
video_facing = MEDIA_VIDEO_FACING_USER;
@@ -53,13 +48,7 @@ MediaStreamDevice::MediaStreamDevice(MediaStreamType type,
MediaStreamDevice::MediaStreamDevice(MediaStreamType type,
const std::string& id,
- const std::string& name)
- : MediaStreamDevice(type, id, name, std::string()) {}
-
-MediaStreamDevice::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)
@@ -67,7 +56,6 @@ MediaStreamDevice::MediaStreamDevice(MediaStreamType type,
id(id),
video_facing(MEDIA_VIDEO_FACING_NONE),
name(name),
- group_id(group_id),
input(sample_rate, channel_layout, frames_per_buffer) {}
MediaStreamDevice::MediaStreamDevice(const MediaStreamDevice& other) = default;
« no previous file with comments | « content/public/common/media_stream_request.h ('k') | content/renderer/media/media_stream_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698