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

Unified Diff: components/feedback/feedback_report.cc

Issue 2242833003: Add the most recent crash report IDs to feedback reports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert back to a const rather than a constexpr 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
« no previous file with comments | « components/feedback/feedback_report.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_report.cc
diff --git a/components/feedback/feedback_report.cc b/components/feedback/feedback_report.cc
index fb8e5582b5f2abf8afb6c091d4466f94b570acc3..fa0e463163372b881e873abf114627735b6472fb 100644
--- a/components/feedback/feedback_report.cc
+++ b/components/feedback/feedback_report.cc
@@ -54,12 +54,8 @@ FeedbackReport::FeedbackReport(
&WriteReportOnBlockingPool, reports_path_, file_, data_));
}
-FeedbackReport::~FeedbackReport() {}
-
-void FeedbackReport::DeleteReportOnDisk() {
- reports_task_runner_->PostTask(FROM_HERE, base::Bind(
- base::IgnoreResult(&base::DeleteFile), file_, false));
-}
+// static
+const char FeedbackReport::kCrashReportIdsKey[] = "crash_report_ids";
// static
void FeedbackReport::LoadReportsAndQueue(
@@ -81,4 +77,12 @@ void FeedbackReport::LoadReportsAndQueue(
}
}
+void FeedbackReport::DeleteReportOnDisk() {
+ reports_task_runner_->PostTask(
+ FROM_HERE,
+ base::Bind(base::IgnoreResult(&base::DeleteFile), file_, false));
+}
+
+FeedbackReport::~FeedbackReport() {}
+
} // namespace feedback
« no previous file with comments | « components/feedback/feedback_report.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698