| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/crash_upload_list_crashpad.h" | 5 #include "chrome/browser/crash_upload_list/crash_upload_list_crashpad.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/threading/sequenced_worker_pool.h" | 9 #include "base/threading/sequenced_worker_pool.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
| 13 #include "components/crash/content/app/crashpad.h" | 13 #include "components/crash/content/app/crashpad.h" |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 crash_reporter::GetReports(&reports); | 77 crash_reporter::GetReports(&reports); |
| 78 #endif | 78 #endif |
| 79 | 79 |
| 80 for (const crash_reporter::Report& report : reports) { | 80 for (const crash_reporter::Report& report : reports) { |
| 81 uploads->push_back( | 81 uploads->push_back( |
| 82 UploadInfo(report.remote_id, base::Time::FromTimeT(report.upload_time), | 82 UploadInfo(report.remote_id, base::Time::FromTimeT(report.upload_time), |
| 83 report.local_id, base::Time::FromTimeT(report.capture_time), | 83 report.local_id, base::Time::FromTimeT(report.capture_time), |
| 84 ReportUploadStateToUploadInfoState(report.state))); | 84 ReportUploadStateToUploadInfoState(report.state))); |
| 85 } | 85 } |
| 86 } | 86 } |
| OLD | NEW |