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

Issue 2841593003: Use TaskScheduler instead of blocking pool in profile_impl_io_data.cc. (Closed)

Created:
3 years, 8 months ago by fdoray
Modified:
3 years, 4 months ago
Reviewers:
gab, Elliot Glaysher
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of blocking pool in profile_impl_io_data.cc. The blocking pool is being deprecated in favor of TaskScheduler. BUG=667892 R=erg@chromium.org Review-Url: https://codereview.chromium.org/2841593003 Cr-Commit-Position: refs/heads/master@{#466765} Committed: https://chromium.googlesource.com/chromium/src/+/d50542f37d5733bdba90ec0b137127ecf37c8116

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M chrome/browser/profiles/profile_impl_io_data.cc View 3 chunks +7 lines, -5 lines 2 comments Download

Messages

Total messages: 14 (7 generated)
fdoray
3 years, 8 months ago (2017-04-24 18:44:27 UTC) #1
fdoray
PTAL! This CL was generated automatically. Please make sure that the appropriate TaskTraits are used ...
3 years, 8 months ago (2017-04-24 18:44:30 UTC) #3
Elliot Glaysher
lgtm
3 years, 8 months ago (2017-04-24 20:12:27 UTC) #5
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/2841593003/1
3 years, 8 months ago (2017-04-24 20:14:04 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/d50542f37d5733bdba90ec0b137127ecf37c8116
3 years, 8 months ago (2017-04-24 21:13:25 UTC) #11
gab
Just stumbled on this code, I don't the choice of TaskPriority::BACKGROUND here is correct, WDYT? ...
3 years, 4 months ago (2017-08-15 00:02:44 UTC) #13
fdoray
3 years, 4 months ago (2017-08-16 15:56:18 UTC) #14
Message was sent while issue was closed.
On 2017/08/15 00:02:44, gab wrote:
> Just stumbled on this code, I don't the choice of TaskPriority::BACKGROUND
here
> is correct, WDYT?
> 
>
https://codereview.chromium.org/2841593003/diff/1/chrome/browser/profiles/pro...
> File chrome/browser/profiles/profile_impl_io_data.cc (right):
> 
>
https://codereview.chromium.org/2841593003/diff/1/chrome/browser/profiles/pro...
> chrome/browser/profiles/profile_impl_io_data.cc:508:
> base::TaskPriority::BACKGROUND)),
> This call also lands in net::SQLiteChannelIDStore's constructor
> 
>
https://codereview.chromium.org/2841593003/diff/1/chrome/browser/profiles/pro...
> chrome/browser/profiles/profile_impl_io_data.cc:654:
> base::TaskPriority::BACKGROUND)));
> I don't think TaskPriority::BACKGROUND is correct here, although
> net::SQLiteChannelIDStore()'s API states that this is its "background task
> runner", it also states it uses it for all I/O operations. This is tied to the
> cookie store and I assume some of these I/O operations will include reads for
> user visible content.

Asked Elliot Glaysher to check that via email.

Powered by Google App Engine
This is Rietveld 408576698