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

Unified Diff: components/certificate_reporting/error_report.h

Issue 2964283002: Add chrome channel to cert logger reports (Closed)
Patch Set: Fix build errors Created 3 years, 5 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 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;
« 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