Chromium Code Reviews
DescriptionUse TaskScheduler instead of WorkerPool in sw_reporter_installer_win.cc.
This CL replaces base::WorkerPool::PostTask() with
base::PostTaskWithTraits() call. The following traits are used:
Priority: BACKGROUND
User won't notice if this task takes an arbitrarily long time
to complete.
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).
No File IO (default):
The task does not perform synchronous IO operations.
With Wait:
The task waits on things other than synchronous file IO
operations (e.g. WaitableEvent, ConditionVariable, join a thread,
join a process, blocking system call that doesn't involve
interactions with the file system).
BUG=659191
Committed: https://crrev.com/e32266ffc0f2401f27c9ac05fb0a881f899c619a
Cr-Commit-Position: refs/heads/master@{#435996}
Patch Set 1 #Patch Set 2 : fix build error #Messages
Total messages: 17 (12 generated)
|