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

Unified Diff: third_party/crashpad/crashpad/client/crash_report_database_win.cc

Issue 2349083002: Update Crashpad to 23d31c4fea61962e156f992889c6b041ad757d12 (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/client/crash_report_database_win.cc
diff --git a/third_party/crashpad/crashpad/client/crash_report_database_win.cc b/third_party/crashpad/crashpad/client/crash_report_database_win.cc
index c0bc42b888159fa74b504eb77b56c4ce578d08c0..5a7db2d1011230b1affdf869db3521ccb1ee1b2d 100644
--- a/third_party/crashpad/crashpad/client/crash_report_database_win.cc
+++ b/third_party/crashpad/crashpad/client/crash_report_database_win.cc
@@ -30,6 +30,7 @@
#include "base/strings/utf_string_conversions.h"
#include "client/settings.h"
#include "util/misc/initialization_state_dcheck.h"
+#include "util/misc/metrics.h"
namespace crashpad {
@@ -677,6 +678,9 @@ OperationStatus CrashReportDatabaseWin::FinishedWritingCrashReport(
time(nullptr),
ReportState::kPending));
*uuid = scoped_report->uuid;
+
+ Metrics::CrashReportSize(handle.get());
+
return kNoError;
}

Powered by Google App Engine
This is Rietveld 408576698