DescriptionRemove explicit usage of SequencedWorkerPool from UploadList.
It merely needs a TaskRunner to PostTask() to.
This allows the unittest to merely use a base::Thread and alleviates
issue 646443.
Also did some modern style cleanup:
- ThreadChecker => SequenceChecker (no state is thread-affine)
- const scoped_refptr<>& => scoped_refptr<> + std::move
(avoids a refcount bump when handing off ownership:
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/TlL1D-Djta0/discussion)
BUG=646443
NO_DEPENDENCY_CHECKS=true
Committed: https://crrev.com/9954e8c35b3a0228c6bf10f712921514da491478
Cr-Commit-Position: refs/heads/master@{#418981}
Patch Set 1 #Patch Set 2 : rebase on r417159 #Messages
Total messages: 17 (9 generated)
|