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

Issue 1526563003: Create WorkerThread, an abstraction to perform some work on an interval. (Closed)

Created:
5 years ago by Robert Sesek
Modified:
4 years, 11 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Create WorkerThread, an abstraction to perform some work on an interval. This was extracted from CrashReportUploadThread and will be re-used for the database pruning thread. BUG=crashpad:22 R=mark@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/6d829e9af7d7630422d8095747905015d347b3be

Patch Set 1 : #

Total comments: 33

Patch Set 2 : Address coments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -73 lines) Patch
M handler/crash_report_upload_thread.h View 1 5 chunks +8 lines, -15 lines 0 comments Download
M handler/crash_report_upload_thread.cc View 1 4 chunks +13 lines, -58 lines 0 comments Download
A util/thread/worker_thread.h View 1 1 chunk +93 lines, -0 lines 0 comments Download
A util/thread/worker_thread.cc View 1 1 chunk +95 lines, -0 lines 0 comments Download
A util/thread/worker_thread_test.cc View 1 1 chunk +137 lines, -0 lines 0 comments Download
M util/util.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M util/util_test.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Robert Sesek
5 years ago (2015-12-14 22:54:24 UTC) #5
Mark Mentovai
https://codereview.chromium.org/1526563003/diff/60001/handler/crash_report_upload_thread.h File handler/crash_report_upload_thread.h (right): https://codereview.chromium.org/1526563003/diff/60001/handler/crash_report_upload_thread.h#newcode98 handler/crash_report_upload_thread.h:98: // WorkerThread::Delegate: Can you sort this below UploadReport() (and ...
5 years ago (2015-12-15 17:56:59 UTC) #6
Robert Sesek
https://codereview.chromium.org/1526563003/diff/60001/handler/crash_report_upload_thread.h File handler/crash_report_upload_thread.h (right): https://codereview.chromium.org/1526563003/diff/60001/handler/crash_report_upload_thread.h#newcode98 handler/crash_report_upload_thread.h:98: // WorkerThread::Delegate: On 2015/12/15 17:56:58, Mark Mentovai wrote: > ...
5 years ago (2015-12-23 19:22:32 UTC) #7
Mark Mentovai
LGTM https://codereview.chromium.org/1526563003/diff/60001/util/thread/worker_thread.cc File util/thread/worker_thread.cc (right): https://codereview.chromium.org/1526563003/diff/60001/util/thread/worker_thread.cc#newcode62 util/thread/worker_thread.cc:62: WorkerThread::~WorkerThread() {} Robert Sesek wrote: > On 2015/12/15 ...
4 years, 11 months ago (2016-01-04 16:01:31 UTC) #8
Robert Sesek
https://codereview.chromium.org/1526563003/diff/60001/util/thread/worker_thread.h File util/thread/worker_thread.h (right): https://codereview.chromium.org/1526563003/diff/60001/util/thread/worker_thread.h#newcode57 util/thread/worker_thread.h:57: void Start(double initial_work_delay); On 2016/01/04 16:01:31, Mark Mentovai wrote: ...
4 years, 11 months ago (2016-01-04 22:09:45 UTC) #9
Robert Sesek
4 years, 11 months ago (2016-01-04 22:11:02 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:80001) manually as
6d829e9af7d7630422d8095747905015d347b3be (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698