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

Side by Side Diff: components/upload_list/crash_upload_list.cc

Issue 2335193007: Remove explicit usage of SequencedWorkerPool from UploadList. (Closed)
Patch Set: rebase on r417159 Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « components/upload_list/crash_upload_list.h ('k') | components/upload_list/upload_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
OLDNEW
« no previous file with comments | « components/upload_list/crash_upload_list.h ('k') | components/upload_list/upload_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698