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

Issue 2307373003: Show extension provided certificates in chrome://settings/certificates (Closed)

Created:
4 years, 3 months ago by Ivan Šandrk
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang, emaxx, mattm
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show extension provided certificates in chrome://settings/certificates Extension provided certificates currently aren't shown on the certificates page, and this is bad from a security standpoint. This CL addresses the problem. BUG=532038 Committed: https://crrev.com/20c70a26a98d340d851b2cb12bf6392aae1cda04 Cr-Commit-Position: refs/heads/master@{#420469}

Patch Set 1 #

Patch Set 2 : Fix trybot errors #

Total comments: 4

Patch Set 3 : Fixed broken tests, nits #

Total comments: 4

Patch Set 4 : Pass CertificateProvider around instead of BrowserContext #

Total comments: 4

Patch Set 5 : Matt's nits #

Total comments: 5

Patch Set 6 : thestig's nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -24 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/certificate_manager_model.h View 1 2 3 4 4 chunks +32 lines, -7 lines 0 comments Download
M chrome/browser/certificate_manager_model.cc View 1 2 3 4 5 10 chunks +86 lines, -17 lines 0 comments Download

Messages

Total messages: 41 (22 generated)
Ivan Šandrk
Hi Max, PTAL! Thanks, Ivan
4 years, 3 months ago (2016-09-05 16:48:28 UTC) #4
emaxx
https://codereview.chromium.org/2307373003/diff/20001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/2307373003/diff/20001/chrome/browser/certificate_manager_model.cc#newcode177 chrome/browser/certificate_manager_model.cc:177: if (std::find(extension_cert_list_.begin(), extension_cert_list_.end(), You could use base::ContainsValue for this ...
4 years, 3 months ago (2016-09-06 16:17:03 UTC) #11
Ivan Šandrk
https://codereview.chromium.org/2307373003/diff/20001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/2307373003/diff/20001/chrome/browser/certificate_manager_model.cc#newcode177 chrome/browser/certificate_manager_model.cc:177: if (std::find(extension_cert_list_.begin(), extension_cert_list_.end(), On 2016/09/06 16:17:03, emaxx wrote: > ...
4 years, 3 months ago (2016-09-06 16:27:53 UTC) #12
Ivan Šandrk
Hi Matt, Based on my cs-fu skills you should be familiar with this codebase, could ...
4 years, 3 months ago (2016-09-06 17:15:34 UTC) #16
emaxx
lgtm
4 years, 3 months ago (2016-09-06 17:25:15 UTC) #17
mattm
https://codereview.chromium.org/2307373003/diff/40001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/2307373003/diff/40001/chrome/browser/certificate_manager_model.cc#newcode102 chrome/browser/certificate_manager_model.cc:102: browser_context); don't think browser_context is guaranteed to be valid ...
4 years, 3 months ago (2016-09-06 22:41:04 UTC) #20
Ivan Šandrk
https://codereview.chromium.org/2307373003/diff/40001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/2307373003/diff/40001/chrome/browser/certificate_manager_model.cc#newcode102 chrome/browser/certificate_manager_model.cc:102: browser_context); On 2016/09/06 22:41:04, mattm wrote: > don't think ...
4 years, 3 months ago (2016-09-07 15:47:34 UTC) #21
mattm
lgtm with nits https://codereview.chromium.org/2307373003/diff/60001/chrome/browser/certificate_manager_model.h File chrome/browser/certificate_manager_model.h (right): https://codereview.chromium.org/2307373003/diff/60001/chrome/browser/certificate_manager_model.h#newcode17 chrome/browser/certificate_manager_model.h:17: #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" can you forward declare ...
4 years, 3 months ago (2016-09-09 01:34:05 UTC) #22
Ivan Šandrk
https://codereview.chromium.org/2307373003/diff/60001/chrome/browser/certificate_manager_model.h File chrome/browser/certificate_manager_model.h (right): https://codereview.chromium.org/2307373003/diff/60001/chrome/browser/certificate_manager_model.h#newcode17 chrome/browser/certificate_manager_model.h:17: #include "chrome/browser/chromeos/certificate_provider/certificate_provider.h" On 2016/09/09 01:34:05, mattm wrote: > can ...
4 years, 3 months ago (2016-09-09 10:17:53 UTC) #23
Ivan Šandrk
Hi Lei, PTAL! Thanks, Ivan
4 years, 3 months ago (2016-09-09 10:19:04 UTC) #25
Ivan Šandrk
Hi thestig, polite ping! Thanks, Ivan
4 years, 3 months ago (2016-09-22 12:28:19 UTC) #26
Lei Zhang
lgtm with some nits. Erm, I accidentally marked the previous review email as read. Next ...
4 years, 3 months ago (2016-09-22 17:13:03 UTC) #27
Ivan Šandrk
On 2016/09/22 17:13:03, Lei Zhang wrote: > Erm, I accidentally marked the previous review email ...
4 years, 3 months ago (2016-09-22 17:28:09 UTC) #28
Lei Zhang
https://codereview.chromium.org/2307373003/diff/80001/chrome/browser/certificate_manager_model.cc File chrome/browser/certificate_manager_model.cc (right): https://codereview.chromium.org/2307373003/diff/80001/chrome/browser/certificate_manager_model.cc#newcode168 chrome/browser/certificate_manager_model.cc:168: for (auto cert : extension_cert_list_) { On 2016/09/22 17:28:09, ...
4 years, 3 months ago (2016-09-22 17:32:19 UTC) #29
Ivan Šandrk
On 2016/09/22 17:32:19, Lei Zhang wrote: > https://codereview.chromium.org/2307373003/diff/80001/chrome/browser/certificate_manager_model.cc > File chrome/browser/certificate_manager_model.cc (right): > > https://codereview.chromium.org/2307373003/diff/80001/chrome/browser/certificate_manager_model.cc#newcode168 ...
4 years, 3 months ago (2016-09-22 17:34:46 UTC) #30
Lei Zhang
On 2016/09/22 17:34:46, Ivan Šandrk wrote: > Great, thanks! https://google.github.io/styleguide/cppguide.html#auto also has some good suggestions.
4 years, 3 months ago (2016-09-22 17:38:03 UTC) #31
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/2307373003/100001
4 years, 3 months ago (2016-09-22 21:35:16 UTC) #38
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-22 21:42:37 UTC) #39
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 21:46:35 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/20c70a26a98d340d851b2cb12bf6392aae1cda04
Cr-Commit-Position: refs/heads/master@{#420469}

Powered by Google App Engine
This is Rietveld 408576698