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

Unified Diff: chrome/browser/crash_upload_list_crashpad.cc

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add some stub gn files 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/crash_upload_list_crashpad.h ('k') | chrome/browser/crash_upload_list_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/crash_upload_list_crashpad.cc
diff --git a/chrome/browser/crash_upload_list_mac.cc b/chrome/browser/crash_upload_list_crashpad.cc
similarity index 66%
rename from chrome/browser/crash_upload_list_mac.cc
rename to chrome/browser/crash_upload_list_crashpad.cc
index 8148847520bf1c30a8d15349aeff594b6ad27152..a2a4bbdda04c960e5a1b59b73d0129a29868d853 100644
--- a/chrome/browser/crash_upload_list_mac.cc
+++ b/chrome/browser/crash_upload_list_crashpad.cc
@@ -2,23 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/crash_upload_list_mac.h"
+#include "chrome/browser/crash_upload_list_crashpad.h"
#include "base/threading/sequenced_worker_pool.h"
#include "base/time/time.h"
-#include "components/crash/content/app/crashpad_mac.h"
+#include "components/crash/content/app/crashpad.h"
-CrashUploadListMac::CrashUploadListMac(
+CrashUploadListCrashpad::CrashUploadListCrashpad(
Delegate* delegate,
const base::FilePath& upload_log_path,
const scoped_refptr<base::SequencedWorkerPool>& worker_pool)
- : CrashUploadList(delegate, upload_log_path, worker_pool) {
-}
+ : CrashUploadList(delegate, upload_log_path, worker_pool) {}
-CrashUploadListMac::~CrashUploadListMac() {
-}
+CrashUploadListCrashpad::~CrashUploadListCrashpad() {}
-void CrashUploadListMac::LoadUploadList() {
+void CrashUploadListCrashpad::LoadUploadList() {
std::vector<crash_reporter::UploadedReport> uploaded_reports;
crash_reporter::GetUploadedReports(&uploaded_reports);
@@ -28,7 +26,6 @@ void CrashUploadListMac::LoadUploadList() {
AppendUploadInfo(
UploadInfo(uploaded_report.remote_id,
base::Time::FromTimeT(uploaded_report.creation_time),
- uploaded_report.local_id,
- base::Time()));
+ uploaded_report.local_id, base::Time()));
}
}
« no previous file with comments | « chrome/browser/crash_upload_list_crashpad.h ('k') | chrome/browser/crash_upload_list_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698