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

Issue 2604343002: Use TaskScheduler instead of WorkerPool in navigation_entry_screenshot_manager.cc. (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 11 months ago
Reviewers:
alexmos
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in navigation_entry_screenshot_manager.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 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/9b818f0b639e940db0167e82e0bc071852d30dc0 Cr-Commit-Position: refs/heads/master@{#441316}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -9 lines) Patch
M content/browser/frame_host/navigation_entry_screenshot_manager.cc View 2 chunks +5 lines, -9 lines 4 comments Download

Messages

Total messages: 18 (10 generated)
fdoray
PTAL. WorkerPool is being deprecated in favor of TaskScheduler.
3 years, 11 months ago (2017-01-01 19:23:16 UTC) #7
alexmos
https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (left): https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc#oldcode40 content/browser/frame_host/navigation_entry_screenshot_manager.cc:40: true)) { Is there's an equivalent to task_is_slow in ...
3 years, 11 months ago (2017-01-03 19:19:06 UTC) #8
fdoray
PTAnL https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (left): https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc#oldcode40 content/browser/frame_host/navigation_entry_screenshot_manager.cc:40: true)) { On 2017/01/03 19:19:06, alexmos wrote: > ...
3 years, 11 months ago (2017-01-04 00:27:09 UTC) #9
alexmos
LGTM https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (left): https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc#oldcode40 content/browser/frame_host/navigation_entry_screenshot_manager.cc:40: true)) { On 2017/01/04 00:27:09, fdoray wrote: > ...
3 years, 11 months ago (2017-01-04 01:00:08 UTC) #10
fdoray
https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (left): https://codereview.chromium.org/2604343002/diff/1/content/browser/frame_host/navigation_entry_screenshot_manager.cc#oldcode40 content/browser/frame_host/navigation_entry_screenshot_manager.cc:40: true)) { On 2017/01/04 01:00:08, alexmos wrote: > On ...
3 years, 11 months ago (2017-01-04 02:13:15 UTC) #11
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/2604343002/1
3 years, 11 months ago (2017-01-04 02:13:48 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2017-01-04 04:28:18 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 04:33:50 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9b818f0b639e940db0167e82e0bc071852d30dc0
Cr-Commit-Position: refs/heads/master@{#441316}

Powered by Google App Engine
This is Rietveld 408576698