| Index: components/certificate_reporting/error_report.h
|
| diff --git a/components/certificate_reporting/error_report.h b/components/certificate_reporting/error_report.h
|
| index 0d611db40ebd0dfe30edd0101c25f619629845e4..801e75e60f8288611882c8c98acc2bdfc2a3fdfb 100644
|
| --- a/components/certificate_reporting/error_report.h
|
| +++ b/components/certificate_reporting/error_report.h
|
| @@ -8,6 +8,9 @@
|
| #include <memory>
|
| #include <string>
|
|
|
| +#include "components/certificate_reporting/cert_logger.pb.h"
|
| +#include "components/version_info/version_info.h"
|
| +
|
| namespace base {
|
| class Time;
|
| } // namespace base
|
| @@ -73,12 +76,17 @@ class ErrorReport {
|
| void AddNetworkTimeInfo(
|
| const network_time::NetworkTimeTracker* network_time_tracker);
|
|
|
| + void AddChromeChannel(version_info::Channel channel);
|
| +
|
| // 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;
|
|
|
| + // Gets the Chrome channel attached to this report.
|
| + CertLoggerRequest::ChromeChannel chrome_channel() const;
|
| +
|
| // Returns true if the report has been retried.
|
| bool is_retry_upload() const;
|
|
|
|
|