Chromium Code Reviews
DescriptionUse TaskScheduler instead of WorkerPool in google_brand_chromeos.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).
With file IO:
The task is allowed to perform synchronous IO operations.
No Wait (default):
The task does not wait 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/6c00462bd6aacdefa971db6a1d4c2354ccf913de
Cr-Commit-Position: refs/heads/master@{#436070}
Patch Set 1 #
Messages
Total messages: 15 (9 generated)
|
|||||||||||||||||||