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

Issue 2611443002: Use TaskScheduler instead of WorkerPool in url_data_manager_backend.cc. (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 11 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in url_data_manager_backend.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 Committed: https://crrev.com/39702ec4829b4889cc5400efb476e78d4f5eafaf Cr-Commit-Position: refs/heads/master@{#441079}

Patch Set 1 #

Patch Set 2 : fix build error #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M content/browser/webui/url_data_manager_backend.cc View 1 2 chunks +6 lines, -4 lines 2 comments Download

Messages

Total messages: 19 (13 generated)
fdoray
PTAL. WorkerPool is being deprecated in favor of TaskScheduler.
3 years, 11 months ago (2017-01-01 23:16:29 UTC) #10
Dan Beam
lgtm https://codereview.chromium.org/2611443002/diff/20001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (right): https://codereview.chromium.org/2611443002/diff/20001/content/browser/webui/url_data_manager_backend.cc#newcode483 content/browser/webui/url_data_manager_backend.cc:483: base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), i don't know how easy it is ...
3 years, 11 months ago (2017-01-02 19:55:22 UTC) #11
fdoray
https://codereview.chromium.org/2611443002/diff/20001/content/browser/webui/url_data_manager_backend.cc File content/browser/webui/url_data_manager_backend.cc (right): https://codereview.chromium.org/2611443002/diff/20001/content/browser/webui/url_data_manager_backend.cc#newcode483 content/browser/webui/url_data_manager_backend.cc:483: base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN), On 2017/01/02 19:55:22, Dan Beam wrote: > i ...
3 years, 11 months ago (2017-01-02 19:58:28 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/2611443002/20001
3 years, 11 months ago (2017-01-02 19:58:45 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-02 21:09:03 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 21:11:15 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/39702ec4829b4889cc5400efb476e78d4f5eafaf
Cr-Commit-Position: refs/heads/master@{#441079}

Powered by Google App Engine
This is Rietveld 408576698