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

Unified Diff: components/browser_watcher/postmortem_report_collector.cc

Issue 2910003002: Stability instrumentation: metrics for collection on crash (Closed)
Patch Set: address rkaplow comments Created 3 years, 7 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
« no previous file with comments | « components/browser_watcher/BUILD.gn ('k') | components/browser_watcher/stability_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_watcher/postmortem_report_collector.cc
diff --git a/components/browser_watcher/postmortem_report_collector.cc b/components/browser_watcher/postmortem_report_collector.cc
index 8929fe46fc1d864d668d931d653eb707d16fb3d3..ef21d84d8d259c1cd79e91d18b42e9a464da17e8 100644
--- a/components/browser_watcher/postmortem_report_collector.cc
+++ b/components/browser_watcher/postmortem_report_collector.cc
@@ -214,10 +214,9 @@ bool PostmortemReportCollector::CollectAndSubmitOneReport(
return false;
}
- // Report collection is successful. We may increment |unclean_system_cnt|.
+ LogCollectionStatus(SUCCESS);
if (report_proto.system_state().session_state() == SystemState::UNCLEAN)
*system_unclean = true;
-
return true;
}
« no previous file with comments | « components/browser_watcher/BUILD.gn ('k') | components/browser_watcher/stability_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698