| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "components/upload_list/crash_upload_list.h" | 5 #include "components/upload_list/crash_upload_list.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 8 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 9 #include "base/threading/sequenced_worker_pool.h" | |
| 10 | 11 |
| 11 // static | 12 // static |
| 12 const char CrashUploadList::kReporterLogFilename[] = "uploads.log"; | 13 const char CrashUploadList::kReporterLogFilename[] = "uploads.log"; |
| 13 | 14 |
| 14 CrashUploadList::CrashUploadList( | 15 CrashUploadList::CrashUploadList(Delegate* delegate, |
| 15 Delegate* delegate, | 16 const base::FilePath& upload_log_path, |
| 16 const base::FilePath& upload_log_path, | 17 scoped_refptr<base::TaskRunner> task_runner) |
| 17 const scoped_refptr<base::SequencedWorkerPool>& worker_pool) | 18 : UploadList(delegate, upload_log_path, std::move(task_runner)) {} |
| 18 : UploadList(delegate, upload_log_path, worker_pool) {} | |
| 19 | 19 |
| 20 CrashUploadList::~CrashUploadList() {} | 20 CrashUploadList::~CrashUploadList() = default; |
| OLD | NEW |