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

Issue 2610493002: Use TaskScheduler instead of WorkerPool in webrtc_video_renderer_adapter.cc. (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 10 months ago
Reviewers:
Sergey Ulanov, Jamie
CC:
chromium-reviews, posciak+watch_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in webrtc_video_renderer_adapter.cc. The following traits are used: Priority: Inherited (default) The priority is inherited from the calling context (i.e. TaskTraits are initialized with the priority of the current task). Shutdown behavior: CONTINUE_ON_SHUTDOWN Tasks posted with this mode which have not started executing before shutdown is initiated will never run. Tasks with this mode running at shutdown will be ignored (the worker will not be joined). Note: Tasks that were previously posted to base::WorkerPool should use this shutdown behavior because this is how base::WorkerPool handles all its tasks. Does Not Block (default): Tasks without the MayBlock() and WithBaseSyncPrimitives() traits may not block. BUG=659191 Review-Url: https://codereview.chromium.org/2610493002 Cr-Commit-Position: refs/heads/master@{#449277} Committed: https://chromium.googlesource.com/chromium/src/+/c6abc2378d27fb64de389472c5af3ac74305ea51

Patch Set 1 #

Patch Set 2 : Add ScopedTaskScheduler #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M remoting/protocol/connection_unittest.cc View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M remoting/protocol/webrtc_video_renderer_adapter.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 39 (23 generated)
fdoray
PTAL. WorkerPool is being deprecated in favor of TaskScheduler.
3 years, 11 months ago (2017-01-02 22:59:36 UTC) #10
Wez
FWIW jamiewalch@ is OOO until the 7th, I believe. Re the CL description, the wording ...
3 years, 11 months ago (2017-01-04 00:37:31 UTC) #11
Wez
+sergeyu, since jamiewalch@ is OOO.
3 years, 11 months ago (2017-01-04 00:37:51 UTC) #13
Sergey Ulanov
Sorry about the delay. Do I understand it correctly that TaskScheduler::CreateAndSetDefaultTaskScheduler() has to be called ...
3 years, 11 months ago (2017-01-07 07:54:37 UTC) #14
fdoray
On 2017/01/07 07:54:37, Sergey Ulanov wrote: > Sorry about the delay. > > Do I ...
3 years, 11 months ago (2017-01-11 17:42:32 UTC) #15
Sergey Ulanov
On 2017/01/11 17:42:32, fdoray wrote: > On 2017/01/07 07:54:37, Sergey Ulanov wrote: > > Sorry ...
3 years, 11 months ago (2017-01-13 08:25:42 UTC) #18
Sergey Ulanov
FYI I'm adding TaskScheduler in https://codereview.chromium.org/2669893002.
3 years, 10 months ago (2017-02-01 23:13:16 UTC) #19
fdoray
On 2017/02/01 23:13:16, Sergey Ulanov wrote: > FYI I'm adding TaskScheduler in https://codereview.chromium.org/2669893002. Thanks! Can ...
3 years, 10 months ago (2017-02-08 13:23:57 UTC) #20
Sergey Ulanov
LGTM
3 years, 10 months ago (2017-02-08 18:35:36 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/2610493002/20001
3 years, 10 months ago (2017-02-08 18:36:26 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/317775) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 18:39:11 UTC) #25
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/2610493002/40001
3 years, 10 months ago (2017-02-08 22:12:24 UTC) #28
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/2610493002/60001
3 years, 10 months ago (2017-02-08 22:14:04 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/11518) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 22:21:16 UTC) #33
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/2610493002/80001
3 years, 10 months ago (2017-02-09 12:51:37 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 13:26:44 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/c6abc2378d27fb64de389472c5af...

Powered by Google App Engine
This is Rietveld 408576698