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

Issue 2943923002: Use TaskScheduler instead of SequencedWorkerPool in portable_device_watcher_win.cc (Closed)

Created:
3 years, 6 months ago by Yeol Park
Modified:
3 years, 6 months ago
Reviewers:
Lei Zhang, fdoray
CC:
chromium-reviews, blundell
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of SequencedWorkerPool in portable_device_watcher_win.cc SequencedWorkerPool is being deprecated in favor of TaskScheduler. BUG=667892 Review-Url: https://codereview.chromium.org/2943923002 Cr-Commit-Position: refs/heads/master@{#481530} Committed: https://chromium.googlesource.com/chromium/src/+/db29a7876e330ce76c69967c3dc84f905b72ae45

Patch Set 1 #

Total comments: 13

Patch Set 2 : Use LazySequencedTaskRunner instead of SequencedTaskRunner. #

Patch Set 3 : Use SequencedTaskRunners #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M components/storage_monitor/portable_device_watcher_win.cc View 1 2 9 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
Yeol Park
I met this issue while solving problem codereview.chromium.org/2889683003. It seems that I have to solve ...
3 years, 6 months ago (2017-06-19 02:57:45 UTC) #3
Lei Zhang
https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc File components/storage_monitor/portable_device_watcher_win.cc (left): https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc#oldcode320 components/storage_monitor/portable_device_watcher_win.cc:320: DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); Can we retain some kind of DCHECK to ...
3 years, 6 months ago (2017-06-19 18:24:46 UTC) #4
fdoray
https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc File components/storage_monitor/portable_device_watcher_win.cc (left): https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc#oldcode320 components/storage_monitor/portable_device_watcher_win.cc:320: DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); On 2017/06/19 18:24:46, Lei Zhang wrote: > Can ...
3 years, 6 months ago (2017-06-19 18:35:03 UTC) #5
Yeol Park
Thank you for Information. I used LazySequencedTaskRunner instead of SequencedTaskRunner. If the direction is wrong, ...
3 years, 6 months ago (2017-06-20 09:04:42 UTC) #6
fdoray
https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc File components/storage_monitor/portable_device_watcher_win.cc (right): https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc#newcode500 components/storage_monitor/portable_device_watcher_win.cc:500: media_task_runner_ = base::CreateSequencedTaskRunnerWithTraits( On 2017/06/20 09:04:42, Yeol Park wrote: ...
3 years, 6 months ago (2017-06-20 12:15:02 UTC) #7
Yeol Park
Thank you for your information :) https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc File components/storage_monitor/portable_device_watcher_win.cc (right): https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc#newcode500 components/storage_monitor/portable_device_watcher_win.cc:500: media_task_runner_ = base::CreateSequencedTaskRunnerWithTraits( ...
3 years, 6 months ago (2017-06-21 02:34:32 UTC) #8
fdoray
thestig@: Can you share your thoughts about using a different sequence in this file? https://codereview.chromium.org/2943923002/diff/1/components/storage_monitor/portable_device_watcher_win.cc ...
3 years, 6 months ago (2017-06-21 12:26:59 UTC) #13
Lei Zhang
On 2017/06/21 12:26:59, fdoray wrote: > thestig@: Can you share your thoughts about using a ...
3 years, 6 months ago (2017-06-21 22:23:57 UTC) #14
Lei Zhang
On 2017/06/21 22:23:57, Lei Zhang wrote: > On 2017/06/21 12:26:59, fdoray wrote: > > thestig@: ...
3 years, 6 months ago (2017-06-21 22:40:43 UTC) #15
fdoray
lgtm
3 years, 6 months ago (2017-06-22 12:37:13 UTC) #16
Lei Zhang
lgtm
3 years, 6 months ago (2017-06-22 14:47:26 UTC) #22
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/2943923002/40001
3 years, 6 months ago (2017-06-22 14:47:40 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 14:51:52 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/db29a7876e330ce76c69967c3dc8...

Powered by Google App Engine
This is Rietveld 408576698