Chromium Code Reviews| Index: components/feedback/feedback_report.h |
| diff --git a/components/feedback/feedback_report.h b/components/feedback/feedback_report.h |
| index 15cac5c76f4e5c514cbdc032d1796236364efe31..11826c26530dc67098ba75c1861bad3b5f8d56bf 100644 |
| --- a/components/feedback/feedback_report.h |
| +++ b/components/feedback/feedback_report.h |
| @@ -31,6 +31,15 @@ class FeedbackReport : public base::RefCounted<FeedbackReport> { |
| const std::string& data, |
| scoped_refptr<base::SequencedTaskRunner> task_runner); |
| + // The ID of the product specific data for the crash report IDs as stored by |
| + // the feedback server. |
| + static const char kCrashReportIdsKey[]; |
|
Rahul Chaturvedi
2016/09/12 22:31:21
constexpr? That should also allow you to initializ
afakhry
2016/09/13 16:59:46
That's the first thing I tried, and it gave me lin
|
| + |
| + // Loads the reports still on disk and queues then using the given callback. |
| + // This call blocks on the file reads. |
| + static void LoadReportsAndQueue(const base::FilePath& user_dir, |
| + QueueCallback callback); |
| + |
| // Stops the disk write of the report and deletes the report file if already |
| // written. |
| void DeleteReportOnDisk(); |
| @@ -38,11 +47,6 @@ class FeedbackReport : public base::RefCounted<FeedbackReport> { |
| const base::Time& upload_at() const { return upload_at_; } |
| const std::string& data() const { return data_; } |
| - // Loads the reports still on disk and queues then using the given callback. |
| - // This call blocks on the file reads. |
| - static void LoadReportsAndQueue(const base::FilePath& user_dir, |
| - QueueCallback callback); |
| - |
| private: |
| friend class base::RefCounted<FeedbackReport>; |
| virtual ~FeedbackReport(); |