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

Issue 2750823002: Flush TaskScheduler in content::RunAllBlockingPoolTasksUntilIdle(). (Closed)

Created:
3 years, 9 months ago by fdoray
Modified:
3 years, 8 months ago
Reviewers:
robliao, gab, sky
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Flush TaskScheduler in content::RunAllBlockingPoolTasksUntilIdle(). Since all blocking pool call sites are being migrated to TaskScheduler, it makes sense to flush TaskScheduler in content::RunAllBlockingPoolTasksUntilIdle(). Once the blocking pool is fully deprecated, content::RunAllBlockingPoolTasksUntilIdle() will be renamed to content::RunAllTaskSchedulerTasksUntilidle(). BUG=667892, 697662 Review-Url: https://codereview.chromium.org/2750823002 Cr-Commit-Position: refs/heads/master@{#461440} Committed: https://chromium.googlesource.com/chromium/src/+/b1e1115ec2ca636a0744eae2c442ef22bb844d41

Patch Set 1 #

Patch Set 2 : add reference to bug #

Patch Set 3 : add rununtilidle in TestTaskScheduler::FlushForTesting #

Total comments: 2

Patch Set 4 : fix test errors #

Patch Set 5 : fix build error #

Patch Set 6 : add missing include #

Patch Set 7 : CR robliao #

Patch Set 8 : fix test error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M base/test/scoped_task_scheduler.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_utils.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/test/test_utils.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (28 generated)
fdoray
PTAL
3 years, 9 months ago (2017-03-14 13:49:02 UTC) #2
gab
lgtm, please also file bug for issue reported by thakis@ on chromium-dev (if none already) ...
3 years, 9 months ago (2017-03-15 19:17:35 UTC) #3
fdoray
On 2017/03/15 19:17:35, gab wrote: > lgtm, please also file bug for issue reported by ...
3 years, 9 months ago (2017-03-15 20:23:41 UTC) #5
fdoray
sky@: PTAL
3 years, 9 months ago (2017-03-15 20:24:00 UTC) #7
sky
LGTM
3 years, 9 months ago (2017-03-15 23:03:01 UTC) #8
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/2750823002/20001
3 years, 9 months ago (2017-03-16 10:42:04 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/410066)
3 years, 9 months ago (2017-03-16 11:14:51 UTC) #12
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/2750823002/40001
3 years, 9 months ago (2017-03-16 12:36:02 UTC) #15
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/341512)
3 years, 9 months ago (2017-03-16 13:45:17 UTC) #17
robliao
https://codereview.chromium.org/2750823002/diff/40001/content/public/test/test_utils.cc File content/public/test/test_utils.cc (right): https://codereview.chromium.org/2750823002/diff/40001/content/public/test/test_utils.cc#newcode161 content/public/test/test_utils.cc:161: // Flush blocking pool tasks. Remove this comment as ...
3 years, 9 months ago (2017-03-17 01:00:14 UTC) #18
fdoray
https://codereview.chromium.org/2750823002/diff/40001/content/public/test/test_utils.cc File content/public/test/test_utils.cc (right): https://codereview.chromium.org/2750823002/diff/40001/content/public/test/test_utils.cc#newcode161 content/public/test/test_utils.cc:161: // Flush blocking pool tasks. On 2017/03/17 01:00:14, robliao ...
3 years, 8 months ago (2017-03-31 20:26:05 UTC) #32
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/2750823002/140001
3 years, 8 months ago (2017-04-03 14:38:46 UTC) #38
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 15:45:47 UTC) #41
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b1e1115ec2ca636a0744eae2c442...

Powered by Google App Engine
This is Rietveld 408576698