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

Unified Diff: components/feedback/feedback_report.cc

Issue 2920223002: Add additional histograms with suffixes to ImportantFileWriter. (Closed)
Patch Set: Created 3 years, 6 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: components/feedback/feedback_report.cc
diff --git a/components/feedback/feedback_report.cc b/components/feedback/feedback_report.cc
index fa0e463163372b881e873abf114627735b6472fb..3a66b6b822ed6a6644af9569c70a367e4e0547fe 100644
--- a/components/feedback/feedback_report.cc
+++ b/components/feedback/feedback_report.cc
@@ -29,7 +29,8 @@ void WriteReportOnBlockingPool(const base::FilePath reports_path,
if (!base::CreateDirectoryAndGetError(reports_path, &error))
return;
}
- base::ImportantFileWriter::WriteFileAtomically(file, data);
+ base::ImportantFileWriter::WriteFileAtomically(
+ file, data, std::string(".FeedbackReport"));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698