Chromium Code Reviews| 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()); |
| + |
|
estark
2017/07/01 17:19:01
It would be nice to have a test for this line... b
Mustafa Acer
2017/07/01 20:14:03
The obvious way is to write a browser test that:
-
estark
2017/07/02 00:09:12
That sounds good! I was thinking that I'm not sure
meacer
2017/07/05 20:13:19
Just chatted with Sasha. It seems easier to just a
|
| report.SetInterstitialInfo( |
| interstitial_reason_, user_proceeded, |
| overridable_ |