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

Unified Diff: chrome/browser/ssl/cert_report_helper.cc

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
« no previous file with comments | « no previous file | chrome/browser/ssl/certificate_reporting_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/cert_report_helper.cc
diff --git a/chrome/browser/ssl/cert_report_helper.cc b/chrome/browser/ssl/cert_report_helper.cc
index 418750ad5280fa60daf4e4ca6e547cb53d4aa4b4..923ee3d72639605075a1c6b4e86d2de2fb08d198 100644
--- a/chrome/browser/ssl/cert_report_helper.cc
+++ b/chrome/browser/ssl/cert_report_helper.cc
@@ -16,6 +16,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ssl/ssl_cert_reporter.h"
+#include "chrome/common/channel_info.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/common/safe_browsing_prefs.h"
@@ -125,6 +126,8 @@ void CertReportHelper::FinishCertCollection(
report.AddNetworkTimeInfo(g_browser_process->network_time_tracker());
+ report.AddChromeChannel(chrome::GetChannel());
+
report.SetInterstitialInfo(
interstitial_reason_, user_proceeded,
overridable_
« no previous file with comments | « no previous file | chrome/browser/ssl/certificate_reporting_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698