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

Side by Side Diff: chrome/browser/crash_upload_list/crash_upload_list.cc

Issue 2694813005: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
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 "chrome/browser/crash_upload_list/crash_upload_list.h" 5 #include "chrome/browser/crash_upload_list/crash_upload_list.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/threading/sequenced_worker_pool.h"
10 #include "build/build_config.h" 9 #include "build/build_config.h"
11 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
12 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
13 12
14 #if defined(OS_MACOSX) || defined(OS_WIN) 13 #if defined(OS_MACOSX) || defined(OS_WIN)
15 #include "chrome/browser/crash_upload_list/crash_upload_list_crashpad.h" 14 #include "chrome/browser/crash_upload_list/crash_upload_list_crashpad.h"
16 #endif 15 #endif
17 16
18 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
19 #include "chrome/browser/crash_upload_list/crash_upload_list_android.h" 18 #include "chrome/browser/crash_upload_list/crash_upload_list_android.h"
(...skipping 11 matching lines...) Expand all
31 crash_dir_path.AppendASCII(CrashUploadList::kReporterLogFilename); 30 crash_dir_path.AppendASCII(CrashUploadList::kReporterLogFilename);
32 #if defined(OS_ANDROID) 31 #if defined(OS_ANDROID)
33 return new CrashUploadListAndroid(delegate, upload_log_path, 32 return new CrashUploadListAndroid(delegate, upload_log_path,
34 content::BrowserThread::GetBlockingPool()); 33 content::BrowserThread::GetBlockingPool());
35 #else 34 #else
36 return new CrashUploadList(delegate, upload_log_path, 35 return new CrashUploadList(delegate, upload_log_path,
37 content::BrowserThread::GetBlockingPool()); 36 content::BrowserThread::GetBlockingPool());
38 #endif // defined(OS_ANDROID) 37 #endif // defined(OS_ANDROID)
39 #endif // defined(OS_MACOSX) || defined(OS_WIN) 38 #endif // defined(OS_MACOSX) || defined(OS_WIN)
40 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698