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

Issue 2448943004: Add experimental feature info to certificate reports (Closed)

Created:
4 years, 1 month ago by estark
Modified:
4 years, 1 month ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add experimental feature info to certificate reports In poking around certificate reports and UMA, I've noticed that certificate reports give somewhat different data than UMA about how often the bad clock interstitial is shown. (This is likely due to the fact that users have to connect to Google over HTTPS to report UMA data, whereas certificate reports are sent encrypted over HTTP.) This CL adds a field to the cert report to contain information about Finch features that affect certificate validation warnings, such as the network time service experiment. This will allow us to measure the results of the network time service via cert reports data, not just via UMA. BUG=659179, 589700 TBR=battre@chromium.org Committed: https://crrev.com/40d0800b0956677f82cb7ba32085ac2907f792af Cr-Commit-Position: refs/heads/master@{#431688}

Patch Set 1 #

Total comments: 2

Patch Set 2 : meacer comment #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : jwd comment #

Patch Set 5 : undo unnecessary BUILD.gn changes #

Patch Set 6 : undo more unnecessary changes #

Total comments: 2

Patch Set 7 : rebase on https://codereview.chromium.org/2449193002/ #

Patch Set 8 : remove magic #

Patch Set 9 : fix proto field numbering #

Patch Set 10 : cleanup #

Total comments: 2

Patch Set 11 : rebase #

Patch Set 12 : remove redundant parameter checking code #

Patch Set 13 : add dep to BUILD.gn #

Total comments: 2

Patch Set 14 : fix Windows compile problem #

Patch Set 15 : battre comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -47 lines) Patch
M chrome/browser/ssl/cert_report_helper.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_error_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -3 lines 0 comments Download
M components/certificate_reporting/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M components/certificate_reporting/DEPS View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/certificate_reporting/cert_logger.proto View 1 2 3 4 5 6 7 9 10 11 12 13 14 2 chunks +26 lines, -0 lines 0 comments Download
M components/certificate_reporting/error_report.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M components/certificate_reporting/error_report.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +37 lines, -0 lines 0 comments Download
M components/certificate_reporting/error_report_unittest.cc View 1 2 3 4 5 6 7 2 chunks +50 lines, -0 lines 0 comments Download
M components/network_time/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M components/network_time/network_time_test_utils.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -9 lines 0 comments Download
M components/network_time/network_time_test_utils.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -4 lines 0 comments Download
M components/network_time/network_time_tracker.h View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download
M components/network_time/network_time_tracker.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +24 lines, -23 lines 0 comments Download
M components/network_time/network_time_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +6 lines, -6 lines 0 comments Download
M components/ssl_errors/error_classification_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 63 (36 generated)
estark
meacer, another one for you to review, please.
4 years, 1 month ago (2016-10-25 22:10:35 UTC) #6
meacer
LGTM. Do we need a privacy review for this change? https://codereview.chromium.org/2448943004/diff/1/components/certificate_reporting/error_report_unittest.cc File components/certificate_reporting/error_report_unittest.cc (right): https://codereview.chromium.org/2448943004/diff/1/components/certificate_reporting/error_report_unittest.cc#newcode201 ...
4 years, 1 month ago (2016-10-26 20:20:31 UTC) #9
estark
> LGTM. Do we need a privacy review for this change? Per email thread with ...
4 years, 1 month ago (2016-10-28 00:02:34 UTC) #10
estark
jwd, can you please review for the addition of +components/variations to DEPS?
4 years, 1 month ago (2016-10-28 00:03:44 UTC) #12
jwd
https://codereview.chromium.org/2448943004/diff/20001/components/certificate_reporting/error_report.h File components/certificate_reporting/error_report.h (right): https://codereview.chromium.org/2448943004/diff/20001/components/certificate_reporting/error_report.h#newcode73 components/certificate_reporting/error_report.h:73: void AddFeature(const base::Feature& feature); Can you have this take ...
4 years, 1 month ago (2016-11-02 18:05:22 UTC) #17
estark
(Also note that I will want to add a browser test for this, but will ...
4 years, 1 month ago (2016-11-02 20:55:12 UTC) #20
jwd
https://codereview.chromium.org/2448943004/diff/100001/components/certificate_reporting/error_report.h File components/certificate_reporting/error_report.h (right): https://codereview.chromium.org/2448943004/diff/100001/components/certificate_reporting/error_report.h#newcode76 components/certificate_reporting/error_report.h:76: const std::map<std::string, std::string>& params); Hmmm, I actually liked passing ...
4 years, 1 month ago (2016-11-03 15:15:34 UTC) #25
estark
You know, I'm thinking this might be easier for everyone if I change this to ...
4 years, 1 month ago (2016-11-03 15:21:41 UTC) #26
jwd
On 2016/11/03 15:21:41, estark wrote: > You know, I'm thinking this might be easier for ...
4 years, 1 month ago (2016-11-03 18:16:25 UTC) #27
estark
On 2016/11/03 18:16:25, jwd wrote: > On 2016/11/03 15:21:41, estark wrote: > > You know, ...
4 years, 1 month ago (2016-11-03 22:35:03 UTC) #28
meacer
Still lgtm. https://codereview.chromium.org/2448943004/diff/180001/components/certificate_reporting/error_report.cc File components/certificate_reporting/error_report.cc (right): https://codereview.chromium.org/2448943004/diff/180001/components/certificate_reporting/error_report.cc#newcode134 components/certificate_reporting/error_report.cc:134: network_time_tracker->GetFetchBehavior(); nit: Inline this in the switch ...
4 years, 1 month ago (2016-11-04 18:44:22 UTC) #29
jwd
LGTM
4 years, 1 month ago (2016-11-04 21:44:26 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448943004/220001
4 years, 1 month ago (2016-11-11 20:14:20 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/162879) android_cronet on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-11-11 20:19:16 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448943004/240001
4 years, 1 month ago (2016-11-11 20:32:44 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302566)
4 years, 1 month ago (2016-11-11 20:45:26 UTC) #40
estark
+battre for addition of components/prefs to components/certificate_reporting/DEPS (this is the CL we discussed over email, ...
4 years, 1 month ago (2016-11-11 20:52:27 UTC) #42
battre (please use the other)
LGTM to adding the dependency. Note that the try bots are still unhappy. https://codereview.chromium.org/2448943004/diff/240001/components/certificate_reporting/cert_logger.proto File ...
4 years, 1 month ago (2016-11-11 21:32:08 UTC) #44
estark
Thanks. I fixed the problem that the windows bots were unhappy about. https://codereview.chromium.org/2448943004/diff/240001/components/certificate_reporting/cert_logger.proto File components/certificate_reporting/cert_logger.proto ...
4 years, 1 month ago (2016-11-11 22:24:38 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448943004/260001
4 years, 1 month ago (2016-11-11 22:25:43 UTC) #48
estark
On 2016/11/11 22:24:38, estark (slow thru Nov 18) wrote: > Thanks. I fixed the problem ...
4 years, 1 month ago (2016-11-11 22:28:01 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448943004/280001
4 years, 1 month ago (2016-11-11 22:30:16 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/302709)
4 years, 1 month ago (2016-11-11 22:40:48 UTC) #55
estark
TBRing battre@chromium.org because he lgtm'ed from his other account
4 years, 1 month ago (2016-11-11 22:51:54 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2448943004/280001
4 years, 1 month ago (2016-11-11 22:52:31 UTC) #59
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 1 month ago (2016-11-12 00:14:31 UTC) #61
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 00:16:59 UTC) #63
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/40d0800b0956677f82cb7ba32085ac2907f792af
Cr-Commit-Position: refs/heads/master@{#431688}

Powered by Google App Engine
This is Rietveld 408576698