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

Issue 2335193007: Remove explicit usage of SequencedWorkerPool from UploadList. (Closed)

Created:
4 years, 3 months ago by gab
Modified:
4 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -66 lines) Patch
M chrome/browser/crash_upload_list/crash_upload_list.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/crash_upload_list/crash_upload_list_android.h View 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/crash_upload_list/crash_upload_list_android.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/crash_upload_list/crash_upload_list_crashpad.h View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/crash_upload_list/crash_upload_list_crashpad.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M components/upload_list/crash_upload_list.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/upload_list/crash_upload_list.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M components/upload_list/upload_list.h View 1 4 chunks +10 lines, -8 lines 0 comments Download
M components/upload_list/upload_list.cc View 1 4 chunks +19 lines, -20 lines 0 comments Download
M components/upload_list/upload_list_unittest.cc View 12 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
gab
Mark PTaL, thanks!
4 years, 3 months ago (2016-09-14 18:18:59 UTC) #3
gab
On 2016/09/14 18:18:59, gab wrote: > Mark PTaL, thanks! ping mark@, thanks!
4 years, 3 months ago (2016-09-15 18:00:25 UTC) #4
Mark Mentovai
LGTM, Thanks!
4 years, 3 months ago (2016-09-15 18:07:33 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/2335193007/1
4 years, 3 months ago (2016-09-15 18:49:28 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/69849) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-15 18:52:51 UTC) #10
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/2335193007/20001
4 years, 3 months ago (2016-09-15 20:43:54 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 21:29:05 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 21:31:39 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9954e8c35b3a0228c6bf10f712921514da491478
Cr-Commit-Position: refs/heads/master@{#418981}

Powered by Google App Engine
This is Rietveld 408576698