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

Issue 643343004: Video Capture Capabilities available on chrome://media-internals (Closed)

Created:
6 years, 2 months ago by burnik
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

On the chrome://media-internals web page, display a table of video capture devices and supported formats. Each change to the list of devices (e.g. plug/unplug) automatically refreshes that part of the page. Also allows copying the data in JSON format via window prompt. BUG=344882 Committed: https://crrev.com/7196356552ee0c796e3b42f307a8bb1535205e59 Cr-Commit-Position: refs/heads/master@{#300108}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Nits done. #

Patch Set 3 : Updated unit test #

Total comments: 6

Patch Set 4 : Unit test: Remove scoped_ptr for expected_list. #

Patch Set 5 : s/ExpectInteger/ExpectInt/ #

Patch Set 6 : Nits #

Total comments: 12

Patch Set 7 : Remove thread locks, add thread checks. JS nits. #

Total comments: 2

Patch Set 8 : Remove mcasas' legacy. #

Patch Set 9 : Style fix in unit test #

Total comments: 6

Patch Set 10 : Nits @ xhwang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -29 lines) Patch
M content/browser/media/media_internals.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/media/media_internals.cc View 1 2 3 4 5 6 7 1 chunk +24 lines, -16 lines 0 comments Download
M content/browser/media/media_internals_proxy.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/media/media_internals_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +56 lines, -7 lines 0 comments Download
M content/browser/resources/media/client_renderer.js View 1 2 3 4 5 6 7 8 9 1 chunk +38 lines, -0 lines 0 comments Download
M content/browser/resources/media/main.js View 1 chunk +8 lines, -3 lines 0 comments Download
M content/browser/resources/media/manager.js View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/resources/media/media_internals.css View 1 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/resources/media/media_internals.html View 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 35 (6 generated)
burnik
Still a few rough edges. I suggest applying the patch to see it in action. ...
6 years, 2 months ago (2014-10-14 12:19:50 UTC) #2
mcasas
Few nits. Plz complete media_internals_unittest.cc. https://codereview.chromium.org/643343004/diff/1/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/643343004/diff/1/content/browser/media/media_internals.cc#newcode268 content/browser/media/media_internals.cc:268: // TODO(mcasas): Remove the ...
6 years, 2 months ago (2014-10-14 13:44:12 UTC) #3
burnik
Nits done.
6 years, 2 months ago (2014-10-15 12:05:23 UTC) #4
burnik
Updated unit test
6 years, 2 months ago (2014-10-15 13:45:01 UTC) #5
burnik
Updated the unit test as well. Hoping to have green bots and no typos for ...
6 years, 2 months ago (2014-10-15 13:45:58 UTC) #6
burnik
Unit test: Remove scoped_ptr for expected_list.
6 years, 2 months ago (2014-10-15 13:50:23 UTC) #7
mcasas
LGTM modulo my comments. https://codereview.chromium.org/643343004/diff/40001/content/browser/media/media_internals_unittest.cc File content/browser/media/media_internals_unittest.cc (right): https://codereview.chromium.org/643343004/diff/40001/content/browser/media/media_internals_unittest.cc#newcode35 content/browser/media/media_internals_unittest.cc:35: // or for video capabilities: ...
6 years, 2 months ago (2014-10-15 13:54:43 UTC) #8
burnik
s/ExpectInteger/ExpectInt
6 years, 2 months ago (2014-10-15 14:02:05 UTC) #9
burnik
Nits
6 years, 2 months ago (2014-10-15 14:21:43 UTC) #10
burnik
Nits done. https://codereview.chromium.org/643343004/diff/40001/content/browser/media/media_internals_unittest.cc File content/browser/media/media_internals_unittest.cc (right): https://codereview.chromium.org/643343004/diff/40001/content/browser/media/media_internals_unittest.cc#newcode35 content/browser/media/media_internals_unittest.cc:35: // or for video capabilities: "<JavaScript Function ...
6 years, 2 months ago (2014-10-15 14:21:57 UTC) #11
perkj_chrome
https://codereview.chromium.org/643343004/diff/100001/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/643343004/diff/100001/content/browser/media/media_internals.cc#newcode239 content/browser/media/media_internals.cc:239: const media::VideoCaptureDeviceInfos& video_capture_device_infos) { isn't this on io too. ...
6 years, 2 months ago (2014-10-15 15:05:16 UTC) #12
no longer working on chromium
I don't think the current reviewer list is enough, you should involve reviewer(s) who are ...
6 years, 2 months ago (2014-10-15 15:08:03 UTC) #13
burnik
Remove thread locks, add thread checks. JS nits.
6 years, 2 months ago (2014-10-15 15:42:06 UTC) #14
burnik
Thread checks and locks done. https://codereview.chromium.org/643343004/diff/100001/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/643343004/diff/100001/content/browser/media/media_internals.cc#newcode239 content/browser/media/media_internals.cc:239: const media::VideoCaptureDeviceInfos& video_capture_device_infos) { ...
6 years, 2 months ago (2014-10-15 15:43:13 UTC) #15
burnik
+xhwang +tommi
6 years, 2 months ago (2014-10-15 15:44:42 UTC) #17
burnik
+ wolenetz
6 years, 2 months ago (2014-10-15 15:47:18 UTC) #19
perkj_chrome
c++ lgtm if the RunLoop is removed. https://codereview.chromium.org/643343004/diff/120001/content/browser/media/media_internals_unittest.cc File content/browser/media/media_internals_unittest.cc (right): https://codereview.chromium.org/643343004/diff/120001/content/browser/media/media_internals_unittest.cc#newcode141 content/browser/media/media_internals_unittest.cc:141: base::RunLoop().RunUntilIdle(); Why ...
6 years, 2 months ago (2014-10-16 08:35:28 UTC) #20
burnik
Remove mcasas' legacy.
6 years, 2 months ago (2014-10-16 09:39:41 UTC) #21
burnik
Done. https://codereview.chromium.org/643343004/diff/120001/content/browser/media/media_internals_unittest.cc File content/browser/media/media_internals_unittest.cc (right): https://codereview.chromium.org/643343004/diff/120001/content/browser/media/media_internals_unittest.cc#newcode141 content/browser/media/media_internals_unittest.cc:141: base::RunLoop().RunUntilIdle(); On 2014/10/16 08:35:28, perkj wrote: > Why ...
6 years, 2 months ago (2014-10-16 09:40:33 UTC) #22
no longer working on chromium
I defer the review to other reviewers since I am not familiar with those media_internal ...
6 years, 2 months ago (2014-10-16 11:10:40 UTC) #23
burnik
Style fix in unit test
6 years, 2 months ago (2014-10-16 11:25:54 UTC) #25
xhwang
lgtm % a few questions https://codereview.chromium.org/643343004/diff/160001/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc (right): https://codereview.chromium.org/643343004/diff/160001/content/browser/media/media_internals.cc#newcode231 content/browser/media/media_internals.cc:231: } Just a question: ...
6 years, 2 months ago (2014-10-16 17:54:18 UTC) #26
burnik
Nits @ wolenetz
6 years, 2 months ago (2014-10-16 18:28:44 UTC) #27
burnik
There was a discussion on locks/threading with perkj, see patchset 7. :-) https://codereview.chromium.org/643343004/diff/160001/content/browser/media/media_internals.cc File content/browser/media/media_internals.cc ...
6 years, 2 months ago (2014-10-16 18:29:56 UTC) #28
burnik
-wolenetz No response in over 24hrs.
6 years, 2 months ago (2014-10-17 14:02:46 UTC) #30
tommi (sloooow) - chröme
nice! lgtm.
6 years, 2 months ago (2014-10-17 14:06:57 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643343004/170001
6 years, 2 months ago (2014-10-17 14:09:02 UTC) #33
commit-bot: I haz the power
Committed patchset #10 (id:170001)
6 years, 2 months ago (2014-10-17 14:57:29 UTC) #34
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 14:58:20 UTC) #35
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/7196356552ee0c796e3b42f307a8bb1535205e59
Cr-Commit-Position: refs/heads/master@{#300108}

Powered by Google App Engine
This is Rietveld 408576698