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

Issue 2795663002: Change VideoFrameReceiverOnIOThread to VideoFrameReceiverOnTaskRunner (Closed)

Created:
3 years, 8 months ago by Chandan
Modified:
3 years, 8 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change VideoFrameReceiverOnIOThread to VideoFrameReceiverOnTaskRunner Currently, VideoFrameReceiverOnIOThread uses hard coded content:: BrowserThread::PostTask(content::BrowserThread::IO, ... to post tasks. This CL removes such hard coding to make VideoFrameReceiverOnIOThread more generic by allowing it to post tasks to a SingleThreadTaskRunner. BUG=674190 Review-Url: https://codereview.chromium.org/2795663002 Cr-Commit-Position: refs/heads/master@{#462186} Committed: https://chromium.googlesource.com/chromium/src/+/d30d9afc9288d064df6fd9f12543ce5df8f351b5

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed review comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -127 lines) Patch
M content/browser/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/in_process_buildable_video_capture_device.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
D content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h View 1 2 1 chunk +0 lines, -47 lines 0 comments Download
D content/browser/renderer_host/media/video_frame_receiver_on_io_thread.cc View 1 2 1 chunk +0 lines, -72 lines 0 comments Download
M media/capture/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A media/capture/video/video_frame_receiver_on_task_runner.h View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A media/capture/video/video_frame_receiver_on_task_runner.cc View 1 2 1 chunk +68 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Chandan
PTAL. Thank you.
3 years, 8 months ago (2017-04-03 08:40:17 UTC) #3
chfremer
lgtm (with one nit) https://codereview.chromium.org/2795663002/diff/1/media/capture/video/video_frame_receiver_on_task_runner.h File media/capture/video/video_frame_receiver_on_task_runner.h (right): https://codereview.chromium.org/2795663002/diff/1/media/capture/video/video_frame_receiver_on_task_runner.h#newcode14 media/capture/video/video_frame_receiver_on_task_runner.h:14: // specified thread. nit: We ...
3 years, 8 months ago (2017-04-03 16:27:02 UTC) #4
mcasas
Can you plz upload after the changes with a lower similarity level? I.e. git cl ...
3 years, 8 months ago (2017-04-03 17:14:24 UTC) #5
Chandan
Uploaded patchset 2 with similarity level 25. PTAL. Thank you. https://codereview.chromium.org/2795663002/diff/1/media/capture/video/video_frame_receiver_on_task_runner.cc File media/capture/video/video_frame_receiver_on_task_runner.cc (right): https://codereview.chromium.org/2795663002/diff/1/media/capture/video/video_frame_receiver_on_task_runner.cc#newcode1 ...
3 years, 8 months ago (2017-04-04 07:27:09 UTC) #6
mcasas
On 2017/04/04 07:27:09, Chandan wrote: > Uploaded patchset 2 with similarity level 25. PTAL. Thank ...
3 years, 8 months ago (2017-04-04 16:21:28 UTC) #9
Chandan
On 2017/04/04 16:21:28, mcasas wrote: > On 2017/04/04 07:27:09, Chandan wrote: > > Uploaded patchset ...
3 years, 8 months ago (2017-04-04 17:59:53 UTC) #12
Chandan
Rebased. CreateDeviceClient() was moved to InProcessBuildableVideoCaptureDevice from VideoCaptureManager by https://codereview.chromium.org/2738763002/. Changed VideoFrameReceiverOnIOThread to VideoFrameReceiverOnTaskRunner in ...
3 years, 8 months ago (2017-04-05 11:06:41 UTC) #17
chfremer
still lgtm
3 years, 8 months ago (2017-04-05 17:03:10 UTC) #18
Chandan
avi@, please review content/browser/BUILD.gn. Thank you.
3 years, 8 months ago (2017-04-05 17:19:24 UTC) #20
Avi (use Gerrit)
lgtm content stamp
3 years, 8 months ago (2017-04-05 19:23:16 UTC) #21
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/2795663002/40001
3 years, 8 months ago (2017-04-05 19:39:20 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 19:47:25 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d30d9afc9288d064df6fd9f12543...

Powered by Google App Engine
This is Rietveld 408576698