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

Issue 964293002: VideoCaptureImpl & relatives small cleanup. (Closed)

Created:
5 years, 9 months ago by mcasas
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VideoCaptureImpl & relatives small cleanup. Including: - use auto, const auto, range based for loops. - loop variable renaming due to this change. - gfx::Size() has a GetArea() method, use it. - removal of unnnecessary {} - argument formatting when it fits in one line - VideoTrackAdapter::VideoFrameResolutionAdapter::DoDeliverFrame() is not virtual. BUG= Committed: https://crrev.com/e9e5cc288d491895cafcf28d699b4920e441f04e Cr-Commit-Position: refs/heads/master@{#319111}

Patch Set 1 #

Total comments: 8

Patch Set 2 : s/it./it->/ that made bots sad #

Patch Set 3 : emircan@s comments #

Total comments: 22

Patch Set 4 : wolenetz@ comments #

Patch Set 5 : Rebase #

Patch Set 6 : Reverted changes in VideoCaptureImpl::OnDelegateAdded() - client must be removed before StartCapure… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -99 lines) Patch
M content/renderer/media/media_stream_video_source.cc View 1 2 3 10 chunks +22 lines, -29 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 2 3 4 5 8 chunks +23 lines, -33 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.cc View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/media/video_track_adapter.cc View 1 2 3 4 6 chunks +26 lines, -33 lines 0 comments Download

Messages

Total messages: 33 (20 generated)
emircan
https://codereview.chromium.org/964293002/diff/190001/content/renderer/media/media_stream_video_source.cc File content/renderer/media/media_stream_video_source.cc (right): https://codereview.chromium.org/964293002/diff/190001/content/renderer/media/media_stream_video_source.cc#newcode306 content/renderer/media/media_stream_video_source.cc:306: [&](const media::VideoCaptureFormat& f1, Default lambda captures are not allowed ...
5 years, 9 months ago (2015-03-02 19:29:07 UTC) #12
emircan
lgtm % minor issues addressed above.
5 years, 9 months ago (2015-03-02 19:41:42 UTC) #13
mcasas
wolenetz@ OWNERS RS/PTAL. https://codereview.chromium.org/964293002/diff/190001/content/renderer/media/media_stream_video_source.cc File content/renderer/media/media_stream_video_source.cc (right): https://codereview.chromium.org/964293002/diff/190001/content/renderer/media/media_stream_video_source.cc#newcode306 content/renderer/media/media_stream_video_source.cc:306: [&](const media::VideoCaptureFormat& f1, On 2015/03/02 19:29:07, ...
5 years, 9 months ago (2015-03-02 22:57:58 UTC) #15
wolenetz
PS3 rsl-g-t-m % nits, fixing bot-compilation-failure (covered in my s/=/:/ comment, I think), and: please ...
5 years, 9 months ago (2015-03-02 23:51:09 UTC) #16
mcasas
perkj@ OWNERS RS plz https://codereview.chromium.org/964293002/diff/230001/content/renderer/media/media_stream_video_source.cc File content/renderer/media/media_stream_video_source.cc (right): https://codereview.chromium.org/964293002/diff/230001/content/renderer/media/media_stream_video_source.cc#newcode306 content/renderer/media/media_stream_video_source.cc:306: for (; it != formats.end(); ...
5 years, 9 months ago (2015-03-03 15:40:52 UTC) #18
perkj_chrome
On 2015/03/03 15:40:52, mcasas wrote: > perkj@ OWNERS RS plz > > https://codereview.chromium.org/964293002/diff/230001/content/renderer/media/media_stream_video_source.cc > File ...
5 years, 9 months ago (2015-03-04 08:42:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/964293002/250001
5 years, 9 months ago (2015-03-04 14:20:14 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/40975)
5 years, 9 months ago (2015-03-04 14:30:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/964293002/290001
5 years, 9 months ago (2015-03-04 16:59:36 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/2048) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-04 17:09:10 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/964293002/290001
5 years, 9 months ago (2015-03-04 18:00:20 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:290001)
5 years, 9 months ago (2015-03-04 20:03:02 UTC) #32
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 20:03:32 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e9e5cc288d491895cafcf28d699b4920e441f04e
Cr-Commit-Position: refs/heads/master@{#319111}

Powered by Google App Engine
This is Rietveld 408576698