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

Issue 1715883002: Remove DeviceManager and DeviceInfo. (Closed)

Created:
4 years, 10 months ago by the sun
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove DeviceManager and DeviceInfo. BUG=webrtc:5615, webrtc:5620 Committed: https://crrev.com/8ad582d83ffb935ba06b2474d1ec1ff3650ac376 Cr-Commit-Position: refs/heads/master@{#12020}

Patch Set 1 #

Patch Set 2 : build errors #

Patch Set 3 : remove unused objc method #

Patch Set 4 : one line less #

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : Rebase #

Patch Set 7 : rebase #

Total comments: 8

Patch Set 8 : Folded https://codereview.webrtc.org/1751583002/ into this CL #

Patch Set 9 : Decided to keep removal of libudev code separate after all #

Patch Set 10 : Added TODO #

Patch Set 11 : rebase #

Total comments: 6

Patch Set 12 : address comments #

Total comments: 2

Patch Set 13 : rebase+comments #

Patch Set 14 : rebase #

Patch Set 15 : Make conductor.cc create VideoCapturers again; 1st try #

Patch Set 16 : rebase #

Patch Set 17 : rebase #

Patch Set 18 : rebase #

Patch Set 19 : rebase #

Patch Set 20 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3034 lines) Patch
M talk/app/webrtc/legacy_objc_api.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M talk/app/webrtc/objc/RTCVideoCapturer.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -13 lines 0 comments Download
M webrtc/api/api.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/examples/peerconnection/client/conductor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +25 lines, -16 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +0 lines, -6 lines 0 comments Download
M webrtc/media/base/mediaengine.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/media/base/videocapturer.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/media/base/videoengine_unittest.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/media/devices/deviceinfo.h View 1 chunk +0 lines, -25 lines 0 comments Download
D webrtc/media/devices/devicemanager.h View 1 2 3 4 5 1 chunk +0 lines, -192 lines 0 comments Download
D webrtc/media/devices/devicemanager.cc View 1 chunk +0 lines, -305 lines 0 comments Download
D webrtc/media/devices/devicemanager_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -443 lines 0 comments Download
D webrtc/media/devices/dummydevicemanager.h View 1 chunk +0 lines, -34 lines 0 comments Download
D webrtc/media/devices/dummydevicemanager.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D webrtc/media/devices/dummydevicemanager_unittest.cc View 1 chunk +0 lines, -87 lines 0 comments Download
D webrtc/media/devices/fakedevicemanager.h View 1 2 3 4 5 1 chunk +0 lines, -222 lines 0 comments Download
D webrtc/media/devices/linuxdeviceinfo.cc View 1 2 3 4 5 1 chunk +0 lines, -159 lines 0 comments Download
D webrtc/media/devices/linuxdevicemanager.h View 1 chunk +0 lines, -38 lines 0 comments Download
D webrtc/media/devices/linuxdevicemanager.cc View 1 2 3 4 5 1 chunk +0 lines, -396 lines 0 comments Download
D webrtc/media/devices/macdeviceinfo.cc View 1 chunk +0 lines, -39 lines 0 comments Download
D webrtc/media/devices/macdevicemanager.h View 1 chunk +0 lines, -39 lines 0 comments Download
D webrtc/media/devices/macdevicemanager.cc View 1 2 3 4 5 1 chunk +0 lines, -181 lines 0 comments Download
D webrtc/media/devices/macdevicemanagermm.mm View 1 chunk +0 lines, -175 lines 0 comments Download
D webrtc/media/devices/mobiledevicemanager.cc View 1 2 3 4 5 1 chunk +0 lines, -62 lines 0 comments Download
D webrtc/media/devices/win32deviceinfo.cc View 1 chunk +0 lines, -45 lines 0 comments Download
D webrtc/media/devices/win32devicemanager.h View 1 chunk +0 lines, -43 lines 0 comments Download
D webrtc/media/devices/win32devicemanager.cc View 1 chunk +0 lines, -398 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvcmfactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvideocapturemodule.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +0 lines, -85 lines 0 comments Download
M webrtc/media/media_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 83 (34 generated)
the sun
Is this ripe for picking? Seems only used by examples/peerconnection/client
4 years, 10 months ago (2016-02-19 22:08:17 UTC) #3
pthatcher1
lgtm Except please make sure HarmonyInternal::CreateVideoCapturer can easily switch over and they are warned. https://codereview.webrtc.org/1715883002/diff/80001/webrtc/media/devices/devicemanager.h ...
4 years, 10 months ago (2016-02-20 06:16:00 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/120001
4 years, 9 months ago (2016-03-01 18:12:28 UTC) #6
the sun
On 2016/02/20 06:16:00, pthatcher1 wrote: > lgtm > > Except please make sure HarmonyInternal::CreateVideoCapturer can ...
4 years, 9 months ago (2016-03-01 18:17:50 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 9 months ago (2016-03-01 20:13:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/120001
4 years, 9 months ago (2016-03-01 20:43:13 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/3805)
4 years, 9 months ago (2016-03-01 20:46:56 UTC) #15
kjellander_webrtc
Got a few questions. Pro tip for compile-only CLs: mark them with NOTRY=True and use ...
4 years, 9 months ago (2016-03-01 20:56:38 UTC) #17
kjellander_webrtc
On 2016/03/01 20:56:38, kjellander (webrtc) wrote: > Got a few questions. > > Pro tip ...
4 years, 9 months ago (2016-03-01 20:59:22 UTC) #18
the sun
On 2016/03/01 20:59:22, kjellander (webrtc) wrote: > On 2016/03/01 20:56:38, kjellander (webrtc) wrote: > > ...
4 years, 9 months ago (2016-03-01 21:14:09 UTC) #19
the sun
https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp File webrtc/media/media.gyp (left): https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp#oldcode171 webrtc/media/media.gyp:171: 'devices/libudevsymboltable.cc', On 2016/03/01 20:56:37, kjellander (webrtc) wrote: > Does ...
4 years, 9 months ago (2016-03-01 21:14:59 UTC) #20
kjellander_webrtc
https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp File webrtc/media/media.gyp (left): https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp#oldcode171 webrtc/media/media.gyp:171: 'devices/libudevsymboltable.cc', On 2016/03/01 21:14:59, the sun wrote: > On ...
4 years, 9 months ago (2016-03-01 21:31:30 UTC) #21
the sun
On 2016/03/01 21:31:30, kjellander (webrtc) wrote: > https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp > File webrtc/media/media.gyp (left): > > https://codereview.webrtc.org/1715883002/diff/120001/webrtc/media/media.gyp#oldcode171 ...
4 years, 9 months ago (2016-03-01 22:20:43 UTC) #22
kjellander_webrtc
On 2016/03/01 22:20:43, the sun wrote: > On 2016/03/01 21:31:30, kjellander (webrtc) wrote: > > ...
4 years, 9 months ago (2016-03-02 06:21:15 UTC) #23
the sun
On 2016/03/02 06:21:15, kjellander (webrtc) wrote: > On 2016/03/01 22:20:43, the sun wrote: > > ...
4 years, 9 months ago (2016-03-02 09:38:52 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/180001
4 years, 9 months ago (2016-03-02 09:39:33 UTC) #26
kjellander_webrtc
On 2016/03/02 09:38:52, the sun wrote: > On 2016/03/02 06:21:15, kjellander (webrtc) wrote: > > ...
4 years, 9 months ago (2016-03-02 10:03:24 UTC) #27
kjellander_webrtc
lgtm but please add webrtc:5620 to the description.
4 years, 9 months ago (2016-03-02 10:04:29 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_libfuzzer_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_libfuzzer_rel/builds/1379)
4 years, 9 months ago (2016-03-02 10:48:27 UTC) #31
the sun
On 2016/03/02 10:03:24, kjellander (webrtc) wrote: > On 2016/03/02 09:38:52, the sun wrote: > > ...
4 years, 9 months ago (2016-03-02 10:49:43 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/200001
4 years, 9 months ago (2016-03-02 14:56:37 UTC) #35
the sun
On 2016/03/02 14:56:37, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 9 months ago (2016-03-02 15:52:14 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/3822)
4 years, 9 months ago (2016-03-02 15:53:37 UTC) #39
tkchin_webrtc
https://codereview.webrtc.org/1715883002/diff/200001/talk/app/webrtc/objc/RTCVideoCapturer.mm File talk/app/webrtc/objc/RTCVideoCapturer.mm (left): https://codereview.webrtc.org/1715883002/diff/200001/talk/app/webrtc/objc/RTCVideoCapturer.mm#oldcode41 talk/app/webrtc/objc/RTCVideoCapturer.mm:41: + (RTCVideoCapturer*)capturerWithDeviceName:(NSString*)deviceName { What is the new way of ...
4 years, 9 months ago (2016-03-02 21:13:37 UTC) #40
the sun
Addressed your comments. PTAL. Are you ok with the change to Conductor::OpenVideoCaptureDevice()? https://codereview.webrtc.org/1715883002/diff/200001/talk/app/webrtc/objc/RTCVideoCapturer.mm File talk/app/webrtc/objc/RTCVideoCapturer.mm ...
4 years, 9 months ago (2016-03-03 20:00:14 UTC) #41
tkchin_webrtc
lgtm I don't know anything about conductor.cc (not even what it does) - can you ...
4 years, 9 months ago (2016-03-04 01:18:35 UTC) #42
the sun
On 2016/03/04 01:18:35, tkchin_webrtc wrote: > lgtm > > I don't know anything about conductor.cc ...
4 years, 9 months ago (2016-03-04 07:46:58 UTC) #43
the sun
Adding glaznev@, to verify the change to webrtc/examples/peerconnection/client/conductor.cc https://codereview.webrtc.org/1715883002/diff/200001/talk/app/webrtc/objc/RTCVideoCapturer.mm File talk/app/webrtc/objc/RTCVideoCapturer.mm (left): https://codereview.webrtc.org/1715883002/diff/200001/talk/app/webrtc/objc/RTCVideoCapturer.mm#oldcode41 talk/app/webrtc/objc/RTCVideoCapturer.mm:41: + ...
4 years, 9 months ago (2016-03-04 07:48:16 UTC) #45
AlexG
On 2016/03/04 07:48:16, the sun wrote: > Adding glaznev@, to verify the change to > ...
4 years, 9 months ago (2016-03-04 20:02:12 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/260001
4 years, 9 months ago (2016-03-04 20:34:35 UTC) #49
the sun
On 2016/03/04 20:02:12, AlexG wrote: > On 2016/03/04 07:48:16, the sun wrote: > > Adding ...
4 years, 9 months ago (2016-03-04 20:55:05 UTC) #50
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 9 months ago (2016-03-04 22:35:15 UTC) #52
tommi
On 2016/03/04 22:35:15, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 9 months ago (2016-03-05 07:51:57 UTC) #53
the sun
On 2016/03/05 07:51:57, tommi-webrtc wrote: > On 2016/03/04 22:35:15, commit-bot: I haz the power wrote: ...
4 years, 9 months ago (2016-03-05 08:43:29 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/300001
4 years, 9 months ago (2016-03-07 22:18:07 UTC) #56
the sun
On 2016/03/07 22:18:07, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 9 months ago (2016-03-07 22:18:51 UTC) #58
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 00:24:19 UTC) #60
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/340001
4 years, 9 months ago (2016-03-14 16:33:22 UTC) #63
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-14 18:58:03 UTC) #65
the sun
On 2016/03/14 18:58:03, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 9 months ago (2016-03-14 20:05:37 UTC) #66
the sun
On 2016/03/14 20:05:37, the sun wrote: > On 2016/03/14 18:58:03, commit-bot: I haz the power ...
4 years, 9 months ago (2016-03-16 11:14:46 UTC) #69
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/360001
4 years, 9 months ago (2016-03-16 11:22:59 UTC) #71
sprang_webrtc
On 2016/03/16 11:22:59, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 9 months ago (2016-03-16 12:52:21 UTC) #72
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-16 13:41:33 UTC) #74
the sun
On 2016/03/16 12:52:21, språng wrote: > On 2016/03/16 11:22:59, commit-bot: I haz the power wrote: ...
4 years, 9 months ago (2016-03-16 14:12:14 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1715883002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1715883002/380001
4 years, 9 months ago (2016-03-16 14:12:33 UTC) #78
tommi
On 2016/03/16 14:12:14, the sun wrote: > On 2016/03/16 12:52:21, språng wrote: > > On ...
4 years, 9 months ago (2016-03-16 15:51:43 UTC) #79
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years, 9 months ago (2016-03-16 16:35:03 UTC) #81
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 16:35:14 UTC) #83
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/8ad582d83ffb935ba06b2474d1ec1ff3650ac376
Cr-Commit-Position: refs/heads/master@{#12020}

Powered by Google App Engine
This is Rietveld 408576698