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

Unified Diff: chrome/browser/crash_upload_list.cc

Issue 1481703002: win: Move Crashpad all into chrome.exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix and rebase Created 5 years 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/crash_upload_list_crashpad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/crash_upload_list.cc
diff --git a/chrome/browser/crash_upload_list.cc b/chrome/browser/crash_upload_list.cc
index 9e30d848101d129452e5bb7f8d448613e9a777a5..95aa101b9d2189fb1d338f1bfdef660307dabd00 100644
--- a/chrome/browser/crash_upload_list.cc
+++ b/chrome/browser/crash_upload_list.cc
@@ -17,14 +17,14 @@
scoped_refptr<CrashUploadList> CreateCrashUploadList(
UploadList::Delegate* delegate) {
+#if defined(OS_MACOSX) || defined(OS_WIN)
+ return new CrashUploadListCrashpad(delegate,
+ content::BrowserThread::GetBlockingPool());
+#else
base::FilePath crash_dir_path;
PathService::Get(chrome::DIR_CRASH_DUMPS, &crash_dir_path);
base::FilePath upload_log_path =
crash_dir_path.AppendASCII(CrashUploadList::kReporterLogFilename);
-#if defined(OS_MACOSX) || defined(OS_WIN)
- return new CrashUploadListCrashpad(delegate, upload_log_path,
- content::BrowserThread::GetBlockingPool());
-#else
return new CrashUploadList(delegate, upload_log_path,
content::BrowserThread::GetBlockingPool());
#endif
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/crash_upload_list_crashpad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698