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

Unified Diff: components/certificate_reporting/error_report.h

Issue 2632533002: Add retry information to certificate reports. (Closed)
Patch Set: Created 3 years, 11 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/certificate_reporting/error_report.h
diff --git a/components/certificate_reporting/error_report.h b/components/certificate_reporting/error_report.h
index 92ce5a50fc050f2ac2f759bacd81ef9e8877d437..0df90a4ccd743f8340733627a9470e9cecc78a61 100644
--- a/components/certificate_reporting/error_report.h
+++ b/components/certificate_reporting/error_report.h
@@ -71,9 +71,13 @@ class ErrorReport {
void AddNetworkTimeInfo(
const network_time::NetworkTimeTracker* network_time_tracker);
+ // Sets is_retry_upload field of the protobuf to |is_retry_upload|.
estark 2017/01/13 23:26:22 nit: blank line above (and above line 79)
meacer 2017/01/17 22:24:27 Done.
+ void SetIsRetryUpload(bool is_retry_upload);
// Gets the hostname to which this report corresponds.
const std::string& hostname() const;
+ // Returns true if the report has been retried.
+ bool is_retry_upload() const;
private:
std::unique_ptr<CertLoggerRequest> cert_report_;

Powered by Google App Engine
This is Rietveld 408576698