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

Unified Diff: components/certificate_reporting/error_report.h

Issue 2632533002: Add retry information to certificate reports. (Closed)
Patch Set: Enums 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..f9236e1aa77588dd544219adbd2a6224b012c45c 100644
--- a/components/certificate_reporting/error_report.h
+++ b/components/certificate_reporting/error_report.h
@@ -72,9 +72,15 @@ class ErrorReport {
void AddNetworkTimeInfo(
const network_time::NetworkTimeTracker* network_time_tracker);
+ // Sets is_retry_upload field of the protobuf to |is_retry_upload|.
+ 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_;
};
« no previous file with comments | « components/certificate_reporting/cert_logger.proto ('k') | components/certificate_reporting/error_report.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698