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

Unified Diff: handler/crash_report_upload_thread.cc

Issue 1556043005: Fix build break after 6d829e9af7d7630422d8095747905015d347b3be. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Windows Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | util/thread/worker_thread_test.cc » ('j') | util/thread/worker_thread_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: handler/crash_report_upload_thread.cc
diff --git a/handler/crash_report_upload_thread.cc b/handler/crash_report_upload_thread.cc
index d1429445017b396c103bd3603b30e551fdfa3789..c84facb2e9459cdb55baa72e06a8e312a36099c0 100644
--- a/handler/crash_report_upload_thread.cc
+++ b/handler/crash_report_upload_thread.cc
@@ -139,12 +139,12 @@ class CallRecordUploadAttempt {
CrashReportUploadThread::CrashReportUploadThread(CrashReportDatabase* database,
const std::string& url)
: url_(url),
- database_(database),
// Check for pending reports every 15 minutes, even in the absence of a
// signal from the handler thread. This allows for failed uploads to be
// retried periodically, and for pending reports written by other
// processes to be recognized.
- thread_(15 * 60, this) {
+ thread_(15 * 60, this),
+ database_(database) {
}
CrashReportUploadThread::~CrashReportUploadThread() {
« no previous file with comments | « no previous file | util/thread/worker_thread_test.cc » ('j') | util/thread/worker_thread_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698