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

Unified Diff: chrome/browser/crash_upload_list.cc

Issue 1475213004: Revert of Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/chrome_browser_main_mac.mm ('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..82e17d4d5cba554fce3ef1038573cbcf06e0d4da 100644
--- a/chrome/browser/crash_upload_list.cc
+++ b/chrome/browser/crash_upload_list.cc
@@ -11,8 +11,10 @@
#include "chrome/common/chrome_paths.h"
#include "content/public/browser/browser_thread.h"
-#if defined(OS_MACOSX) || defined(OS_WIN)
-#include "chrome/browser/crash_upload_list_crashpad.h"
+#if defined(OS_WIN)
+#include "chrome/browser/crash_upload_list_win.h"
+#elif defined(OS_MACOSX)
+#include "chrome/browser/crash_upload_list_mac.h"
#endif
scoped_refptr<CrashUploadList> CreateCrashUploadList(
@@ -21,9 +23,12 @@
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());
+#if defined(OS_WIN)
+ return new CrashUploadListWin(delegate, upload_log_path,
+ content::BrowserThread::GetBlockingPool());
+#elif defined(OS_MACOSX)
+ return new CrashUploadListMac(delegate, upload_log_path,
+ content::BrowserThread::GetBlockingPool());
#else
return new CrashUploadList(delegate, upload_log_path,
content::BrowserThread::GetBlockingPool());
« no previous file with comments | « chrome/browser/chrome_browser_main_mac.mm ('k') | chrome/browser/crash_upload_list_crashpad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698