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

Issue 2384413004: [Win] Count number of distinct certificates covering third party modules. (Closed)

Created:
4 years, 2 months ago by chrisha
Modified:
4 years, 2 months ago
Reviewers:
gab, rkaplow
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Win] Count number of distinct certificates covering third party modules. The real cost in validating signed modules is validating individual certificates. Since many certificates are provided en masse by catalogs, this counts catalogs as providing a single certificate. BUG=617176 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/cd02dc9beadedd79e9c1694be6a4f9e3f282eaeb Cr-Commit-Position: refs/heads/master@{#423658}

Patch Set 1 #

Patch Set 2 : Remove unintended comment. #

Total comments: 6

Patch Set 3 : Address gab's comments. #

Total comments: 2

Patch Set 4 : Now even compiles! #

Patch Set 5 : Fix missing include. #

Patch Set 6 : Fix initializer lists. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -57 lines) Patch
M chrome/browser/win/enumerate_modules_model.h View 7 chunks +23 lines, -9 lines 0 comments Download
M chrome/browser/win/enumerate_modules_model.cc View 1 2 3 4 11 chunks +71 lines, -34 lines 0 comments Download
M chrome/browser/win/enumerate_modules_model_unittest.cc View 1 2 3 4 5 2 chunks +13 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
chrisha
PTAL?
4 years, 2 months ago (2016-10-04 17:16:46 UTC) #3
rkaplow
lgtm
4 years, 2 months ago (2016-10-04 17:19:27 UTC) #4
gab
lgtm % comments https://codereview.chromium.org/2384413004/diff/20001/chrome/browser/win/enumerate_modules_model.cc File chrome/browser/win/enumerate_modules_model.cc (right): https://codereview.chromium.org/2384413004/diff/20001/chrome/browser/win/enumerate_modules_model.cc#newcode316 chrome/browser/win/enumerate_modules_model.cc:316: cert_info->subject.clear(); DCHECK that it's empty instead? ...
4 years, 2 months ago (2016-10-04 19:40:40 UTC) #5
chrisha
https://codereview.chromium.org/2384413004/diff/20001/chrome/browser/win/enumerate_modules_model.cc File chrome/browser/win/enumerate_modules_model.cc (right): https://codereview.chromium.org/2384413004/diff/20001/chrome/browser/win/enumerate_modules_model.cc#newcode316 chrome/browser/win/enumerate_modules_model.cc:316: cert_info->subject.clear(); On 2016/10/04 19:40:39, gab wrote: > DCHECK that ...
4 years, 2 months ago (2016-10-04 21:47:50 UTC) #6
gab
https://codereview.chromium.org/2384413004/diff/40001/chrome/browser/win/enumerate_modules_model.cc File chrome/browser/win/enumerate_modules_model.cc (right): https://codereview.chromium.org/2384413004/diff/40001/chrome/browser/win/enumerate_modules_model.cc#newcode316 chrome/browser/win/enumerate_modules_model.cc:316: DCHECK(cert_info->subject.clear()); Hmmm DCHECK clear()? Does that even compile?
4 years, 2 months ago (2016-10-05 13:59:39 UTC) #7
chrisha
https://codereview.chromium.org/2384413004/diff/40001/chrome/browser/win/enumerate_modules_model.cc File chrome/browser/win/enumerate_modules_model.cc (right): https://codereview.chromium.org/2384413004/diff/40001/chrome/browser/win/enumerate_modules_model.cc#newcode316 chrome/browser/win/enumerate_modules_model.cc:316: DCHECK(cert_info->subject.clear()); On 2016/10/05 13:59:39, gab wrote: > Hmmm DCHECK ...
4 years, 2 months ago (2016-10-05 14:14:59 UTC) #8
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/2384413004/60001
4 years, 2 months ago (2016-10-05 15:46:03 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/270388)
4 years, 2 months ago (2016-10-05 16:21:34 UTC) #13
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/2384413004/80001
4 years, 2 months ago (2016-10-06 13:13:01 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/293198)
4 years, 2 months ago (2016-10-06 13:51:23 UTC) #18
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/2384413004/100001
4 years, 2 months ago (2016-10-06 18:34:09 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-06 20:37:40 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 20:39:43 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cd02dc9beadedd79e9c1694be6a4f9e3f282eaeb
Cr-Commit-Position: refs/heads/master@{#423658}

Powered by Google App Engine
This is Rietveld 408576698