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

Issue 2605973002: WebContentsVideoCapture Cleanup: Gut-out dead code, and tighten BUILDs. (Closed)

Created:
3 years, 11 months ago by miu
Modified:
3 years, 11 months ago
Reviewers:
xjz, mcasas, boliu
CC:
chromium-reviews, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebContentsVideoCapture Cleanup: Gut-out dead code, and tighten BUILDs. Removes a bunch of dead code that was relevant years ago before Chromium even had a compositor, including a capture from the "backing store" and a separate "render thread" for scaling and YUV conversion. Also, gutted-out and simplified the unit tests. In addition, BUILD files were modified so that only the platforms that have implementation build/link the relevant modules. BUG=159234 Committed: https://crrev.com/32fb89992da01de660b893d746916f587e871dc9 Cr-Commit-Position: refs/heads/master@{#441288}

Patch Set 1 #

Patch Set 2 : Fix BUILD changes. Remove unintended change to unit tests (accidental mix from another change). #

Patch Set 3 : Another BUILD file fix. #

Total comments: 2

Patch Set 4 : nits and REBASE #

Patch Set 5 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -725 lines) Patch
M content/browser/BUILD.gn View 1 2 3 5 chunks +37 lines, -29 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.h View 1 chunk +8 lines, -2 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 2 3 4 26 chunks +79 lines, -292 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 2 3 34 chunks +169 lines, -394 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
miu
boliu: PTAL at content/browser/BUILD.gn. mcasas: PTAL at content/browser/renderer_host/media/video_capture_manager.cc. xjz: PTAL the rest.
3 years, 11 months ago (2016-12-28 23:37:59 UTC) #4
boliu
On 2016/12/28 23:37:59, miu wrote: > boliu: PTAL at content/browser/BUILD.gn. lgtm > > mcasas: PTAL ...
3 years, 11 months ago (2017-01-03 16:41:49 UTC) #15
xjz
lgtm https://codereview.chromium.org/2605973002/diff/40001/content/browser/media/capture/web_contents_video_capture_device_unittest.cc File content/browser/media/capture/web_contents_video_capture_device_unittest.cc (right): https://codereview.chromium.org/2605973002/diff/40001/content/browser/media/capture/web_contents_video_capture_device_unittest.cc#newcode429 content/browser/media/capture/web_contents_video_capture_device_unittest.cc:429: // Run the current loop until and error ...
3 years, 11 months ago (2017-01-03 21:14:11 UTC) #16
miu
https://codereview.chromium.org/2605973002/diff/40001/content/browser/media/capture/web_contents_video_capture_device_unittest.cc File content/browser/media/capture/web_contents_video_capture_device_unittest.cc (right): https://codereview.chromium.org/2605973002/diff/40001/content/browser/media/capture/web_contents_video_capture_device_unittest.cc#newcode429 content/browser/media/capture/web_contents_video_capture_device_unittest.cc:429: // Run the current loop until and error is ...
3 years, 11 months ago (2017-01-03 21:41:47 UTC) #17
miu
Note: Waiting on https://codereview.chromium.org/2602923002/ to land before rebasing again before commit of this change.
3 years, 11 months ago (2017-01-03 21:42:24 UTC) #18
mcasas
On 2017/01/03 21:42:24, miu wrote: > Note: Waiting on https://codereview.chromium.org/2602923002/ to land before > rebasing ...
3 years, 11 months ago (2017-01-03 23:20:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2605973002/80001
3 years, 11 months ago (2017-01-03 23:22:31 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 11 months ago (2017-01-04 01:39:28 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 01:41:26 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/32fb89992da01de660b893d746916f587e871dc9
Cr-Commit-Position: refs/heads/master@{#441288}

Powered by Google App Engine
This is Rietveld 408576698