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

Issue 183743021: Implement MediaCaptureDevices. (Closed)

Created:
6 years, 9 months ago by michaelbai
Modified:
6 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org, jiayl, benm (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement MediaCaptureDevices. - Added MediaCaptureDevices to cache the MediaCaptureDevice in content layer. - Removed the correspoding methods in MediaObserver. - Removed the MediaDevicesMonitor APIs. BUG=348867 TBR=mnissler Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257198

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : sync again #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : try again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -111 lines) Patch
M chrome/browser/media/media_capture_devices_dispatcher.h View 1 2 3 4 5 6 4 chunks +12 lines, -14 lines 0 comments Download
M chrome/browser/media/media_capture_devices_dispatcher.cc View 1 2 3 4 5 6 7 8 9 7 chunks +36 lines, -33 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -5 lines 0 comments Download
D content/browser/media/media_devices_monitor.cc View 1 chunk +0 lines, -28 lines 0 comments Download
A content/browser/renderer_host/media/media_capture_devices_impl.h View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A content/browser/renderer_host/media/media_capture_devices_impl.cc View 1 2 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/media_stream_manager.cc View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/mock_media_observer.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -2 lines 0 comments Download
A content/public/browser/media_capture_devices.h View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
D content/public/browser/media_devices_monitor.h View 1 chunk +0 lines, -19 lines 0 comments Download
M content/public/browser/media_observer.h View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 50 (0 generated)
michaelbai
@jam for content, sergeyu@ for chrome/browser/media
6 years, 9 months ago (2014-03-04 21:41:50 UTC) #1
jam
just looked at content/public to start https://codereview.chromium.org/183743021/diff/20001/content/public/browser/media_capture_devices.h File content/public/browser/media_capture_devices.h (right): https://codereview.chromium.org/183743021/diff/20001/content/public/browser/media_capture_devices.h#newcode16 content/public/browser/media_capture_devices.h:16: class Observer { ...
6 years, 9 months ago (2014-03-05 08:45:04 UTC) #2
michaelbai
sergeyu@, you may hold on review, as jam@ comment on patch#1, there will not too ...
6 years, 9 months ago (2014-03-05 20:02:40 UTC) #3
michaelbai
PTAL https://codereview.chromium.org/183743021/diff/20001/content/public/browser/media_capture_devices.h File content/public/browser/media_capture_devices.h (right): https://codereview.chromium.org/183743021/diff/20001/content/public/browser/media_capture_devices.h#newcode16 content/public/browser/media_capture_devices.h:16: class Observer { On 2014/03/05 08:45:04, jam wrote: ...
6 years, 9 months ago (2014-03-05 21:55:45 UTC) #4
jiayl
https://codereview.chromium.org/183743021/diff/60001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/183743021/diff/60001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode733 chrome/browser/media/media_capture_devices_dispatcher.cc:733: OnUpdateAudioDevices(GetAudioCaptureDevices())); The result can be cached to avoid calling ...
6 years, 9 months ago (2014-03-05 22:48:27 UTC) #5
jam
content lgtm with comments https://codereview.chromium.org/183743021/diff/60001/content/public/browser/media_capture_devices.h File content/public/browser/media_capture_devices.h (right): https://codereview.chromium.org/183743021/diff/60001/content/public/browser/media_capture_devices.h#newcode13 content/public/browser/media_capture_devices.h:13: // observer interface to notify ...
6 years, 9 months ago (2014-03-06 01:40:38 UTC) #6
michaelbai
PTAL, wjia@ for content/browser/render_host/media/ https://codereview.chromium.org/183743021/diff/60001/chrome/browser/media/media_capture_devices_dispatcher.cc File chrome/browser/media/media_capture_devices_dispatcher.cc (right): https://codereview.chromium.org/183743021/diff/60001/chrome/browser/media/media_capture_devices_dispatcher.cc#newcode733 chrome/browser/media/media_capture_devices_dispatcher.cc:733: OnUpdateAudioDevices(GetAudioCaptureDevices())); On 2014/03/05 22:48:27, jiayl ...
6 years, 9 months ago (2014-03-06 05:24:52 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/183743021/diff/80001/content/browser/renderer_host/media/media_capture_devices_impl.h File content/browser/renderer_host/media/media_capture_devices_impl.h (right): https://codereview.chromium.org/183743021/diff/80001/content/browser/renderer_host/media/media_capture_devices_impl.h#newcode1 content/browser/renderer_host/media/media_capture_devices_impl.h:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 9 months ago (2014-03-06 08:26:40 UTC) #8
michaelbai
PTAL https://codereview.chromium.org/183743021/diff/80001/content/browser/renderer_host/media/media_capture_devices_impl.h File content/browser/renderer_host/media/media_capture_devices_impl.h (right): https://codereview.chromium.org/183743021/diff/80001/content/browser/renderer_host/media/media_capture_devices_impl.h#newcode1 content/browser/renderer_host/media/media_capture_devices_impl.h:1: // Copyright (c) 2014 The Chromium Authors. All ...
6 years, 9 months ago (2014-03-06 19:27:19 UTC) #9
Sergey Ulanov
lgtm
6 years, 9 months ago (2014-03-07 02:58:35 UTC) #10
wjia(left Chromium)
https://codereview.chromium.org/183743021/diff/150001/content/browser/renderer_host/media/media_capture_devices_impl.cc File content/browser/renderer_host/media/media_capture_devices_impl.cc (right): https://codereview.chromium.org/183743021/diff/150001/content/browser/renderer_host/media/media_capture_devices_impl.cc#newcode56 content/browser/renderer_host/media/media_capture_devices_impl.cc:56: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); Do you really need this restriction? It seems ...
6 years, 9 months ago (2014-03-07 04:32:43 UTC) #11
michaelbai
PTAL https://codereview.chromium.org/183743021/diff/150001/content/browser/renderer_host/media/media_capture_devices_impl.cc File content/browser/renderer_host/media/media_capture_devices_impl.cc (right): https://codereview.chromium.org/183743021/diff/150001/content/browser/renderer_host/media/media_capture_devices_impl.cc#newcode56 content/browser/renderer_host/media/media_capture_devices_impl.cc:56: DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); On 2014/03/07 04:32:43, wjia wrote: > Do ...
6 years, 9 months ago (2014-03-07 06:59:30 UTC) #12
wjia(left Chromium)
lgtm
6 years, 9 months ago (2014-03-07 15:15:55 UTC) #13
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-07 20:10:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/210001
6 years, 9 months ago (2014-03-07 20:34:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/210001
6 years, 9 months ago (2014-03-08 10:56:04 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-08 12:01:48 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-08 12:01:49 UTC) #18
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 19:08:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/210001
6 years, 9 months ago (2014-03-12 19:11:03 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-12 19:11:25 UTC) #21
commit-bot: I haz the power
Failed to apply patch for chrome/browser/media/media_capture_devices_dispatcher.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-12 19:11:26 UTC) #22
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 19:42:12 UTC) #23
michaelbai
The CQ bit was unchecked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 19:44:47 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/220001
6 years, 9 months ago (2014-03-12 19:45:18 UTC) #25
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 19:46:08 UTC) #26
michaelbai
The CQ bit was unchecked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 21:21:45 UTC) #27
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 21:21:56 UTC) #28
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-12 23:43:01 UTC) #29
michaelbai
The CQ bit was unchecked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-13 17:35:24 UTC) #30
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-13 17:35:31 UTC) #31
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-13 18:38:48 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/280001
6 years, 9 months ago (2014-03-13 18:41:07 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 20:12:17 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-13 20:12:18 UTC) #35
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-13 21:09:52 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/300001
6 years, 9 months ago (2014-03-13 21:11:07 UTC) #37
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 22:44:20 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-13 22:44:20 UTC) #39
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-14 02:52:17 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/320001
6 years, 9 months ago (2014-03-14 02:53:49 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 02:56:53 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-14 02:56:55 UTC) #43
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-14 04:39:03 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/320001
6 years, 9 months ago (2014-03-14 04:39:08 UTC) #45
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-14 04:40:31 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-14 04:40:32 UTC) #47
michaelbai
The CQ bit was checked by michaelbai@chromium.org
6 years, 9 months ago (2014-03-14 16:03:22 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/183743021/320001
6 years, 9 months ago (2014-03-14 16:04:09 UTC) #49
commit-bot: I haz the power
6 years, 9 months ago (2014-03-14 21:09:47 UTC) #50
Message was sent while issue was closed.
Change committed as 257198

Powered by Google App Engine
This is Rietveld 408576698