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

Issue 1477363002: Add logging of video device details on device open and close. (Closed)

Created:
5 years ago by nisse-chromium (ooo August 14)
Modified:
5 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add logging of video device details on device open and close. Refactor handling of device_info_cache_, to confine all access to the IO-thread. There used to be a lookup of the cache on the device thread in DoStartDeviceOnDeviceThread, causing a race with the non-atomic assignment in OnDevicesInfoEnumerated. BUG=406256 Committed: https://crrev.com/cbe916974f8558032775f461b03b33358911f7c2 Cr-Commit-Position: refs/heads/master@{#362976}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed mcasas' comments. #

Patch Set 3 : Fixed VideoCaptureManagerTest.OpenNotExisting test. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -50 lines) Patch
M content/browser/renderer_host/media/video_capture_manager.h View 1 chunk +11 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 1 2 5 chunks +113 lines, -46 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager_unittest.cc View 1 2 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 34 (16 generated)
nisse-chromium (ooo August 14)
This is the same changes as in the previous cl registered to my webrtc account. ...
5 years ago (2015-11-27 12:57:01 UTC) #4
tommi (sloooow) - chröme
lgtm
5 years ago (2015-11-27 17:15:56 UTC) #5
perkj_chrome
lgtm
5 years ago (2015-11-29 14:21:18 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477363002/1
5 years ago (2015-11-30 07:52:07 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/35992)
5 years ago (2015-11-30 08:03:12 UTC) #10
mcasas
Bringing some comments otherwise LGTM. https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc File content/browser/renderer_host/media/video_capture_manager.cc (right): https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc#newcode334 content/browser/renderer_host/media/video_capture_manager.cc:334: So my suggestion was ...
5 years ago (2015-12-01 15:30:39 UTC) #11
nisse-chromium (ooo August 14)
https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc File content/browser/renderer_host/media/video_capture_manager.cc (right): https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc#newcode334 content/browser/renderer_host/media/video_capture_manager.cc:334: On 2015/12/01 15:30:38, mcasas wrote: > So my suggestion ...
5 years ago (2015-12-02 14:26:00 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477363002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477363002/20001
5 years ago (2015-12-02 14:26:54 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/87074)
5 years ago (2015-12-02 14:50:38 UTC) #16
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc File content/browser/renderer_host/media/video_capture_manager.cc (right): https://codereview.chromium.org/1477363002/diff/1/content/browser/renderer_host/media/video_capture_manager.cc#newcode334 content/browser/renderer_host/media/video_capture_manager.cc:334: On 2015/12/02 14:26:00, nisse-chromium wrote: > On 2015/12/01 ...
5 years ago (2015-12-02 15:01:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477363002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477363002/20001
5 years ago (2015-12-02 15:03:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/86299)
5 years ago (2015-12-02 15:11:47 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477363002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477363002/40001
5 years ago (2015-12-03 12:23:08 UTC) #24
nisse-chromium (ooo August 14)
Fixed a bug in the reworked error handling. In the VideoCaptureManagerTest.OpenNotExisting, we now get events ...
5 years ago (2015-12-03 12:37:11 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-03 13:28:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477363002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477363002/40001
5 years ago (2015-12-03 13:54:04 UTC) #30
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-03 13:58:03 UTC) #32
commit-bot: I haz the power
5 years ago (2015-12-03 13:59:16 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cbe916974f8558032775f461b03b33358911f7c2
Cr-Commit-Position: refs/heads/master@{#362976}

Powered by Google App Engine
This is Rietveld 408576698