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

Issue 1957483003: Removal of SignedCertificateTimestampStore (Closed)

Created:
4 years, 7 months ago by dwaxweiler
Modified:
4 years, 7 months ago
CC:
chromium-reviews, msramek+watch_chromium.org, jam, cbentzel+watch_chromium.org, raymes+watch_chromium.org, darin-cc_chromium.org, loading-reviews_chromium.org, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removal of SignedCertificateTimestampStore SignedCertificateTimestampStore, SignedCertificateTimestampIDStatusList and SignedCertificateTimestampIDStatus were removed because SCTs are never retrieved from the store (leftover of SCT viewer UI on some platforms). The SCTs are only shown in the DevTools, so they can be sent on IPCs if the DevTools is enabled to reduce memory usage. Numbers of invalid, valid and unknown SCTs were added to SSLStatus to access them quickly. To the ResourceResponseInfo was added a SignedCertificateTimestampAndStatusList attribute, to which a value is only assigned if the DevTools are enabled. I will also have a follow-up CL that displays SCT details in the DevTools. BUG=592561 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/88f6c692a10e5da4d1d87dac49d243359048f097 Cr-Commit-Position: refs/heads/master@{#394271}

Patch Set 1 #

Total comments: 2

Patch Set 2 : reacted to comment of Eran #

Patch Set 3 : fixed two content_unittests #

Patch Set 4 : fixed constructor of SSLStatus() #

Total comments: 12

Patch Set 5 : reacted to comments of estark #

Total comments: 10

Patch Set 6 : reacted to latest concerns #

Total comments: 1

Patch Set 7 : updated a comment #

Total comments: 10

Patch Set 8 : reacted to comments of estark and Charlie and auto-formatted #

Total comments: 4

Patch Set 9 : fixed a comment & removed unneeded brackets #

Patch Set 10 : rebased #

Patch Set 11 : added missing IPC method #

Patch Set 12 : "fixed dereferencing operator" #

Patch Set 13 : fixed IPC problem #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -333 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -14 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.h View 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -3 lines 0 comments Download
M content/browser/loader/resource_loader.h View 2 chunks +0 lines, -9 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -20 lines 0 comments Download
D content/browser/signed_certificate_timestamp_store_impl.h View 1 chunk +0 lines, -46 lines 0 comments Download
D content/browser/signed_certificate_timestamp_store_impl.cc View 1 chunk +0 lines, -39 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -27 lines 0 comments Download
M content/common/resource_messages.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +21 lines, -0 lines 0 comments Download
M content/common/resource_messages.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +44 lines, -0 lines 0 comments Download
M content/common/ssl_status_serialization.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -23 lines 0 comments Download
M content/common/ssl_status_serialization_unittest.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -11 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -3 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
D content/public/browser/signed_certificate_timestamp_store.h View 1 chunk +0 lines, -53 lines 0 comments Download
M content/public/common/resource_response.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/resource_response_info.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
D content/public/common/signed_certificate_timestamp_id_and_status.h View 1 chunk +0 lines, -32 lines 0 comments Download
D content/public/common/signed_certificate_timestamp_id_and_status.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M content/public/common/ssl_status.h View 1 2 3 4 5 4 chunks +7 lines, -6 lines 0 comments Download
M content/public/common/ssl_status.cc View 1 2 3 4 5 6 7 3 chunks +29 lines, -5 lines 0 comments Download
M net/ssl/signed_certificate_timestamp_and_status.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/ssl/signed_certificate_timestamp_and_status.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 93 (43 generated)
dwaxweiler
The SignedCertificateTimestampStore has been removed.
4 years, 7 months ago (2016-05-06 07:05:30 UTC) #3
Eran Messeri
lgtm with one question. https://codereview.chromium.org/1957483003/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1957483003/diff/1/content/child/web_url_loader_impl.cc#newcode191 content/child/web_url_loader_impl.cc:191: const ResourceResponseInfo& info, Question: Why ...
4 years, 7 months ago (2016-05-06 09:01:49 UTC) #4
dwaxweiler
I have reacted to the only comment of Eran's review. https://codereview.chromium.org/1957483003/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/1957483003/diff/1/content/child/web_url_loader_impl.cc#newcode191 ...
4 years, 7 months ago (2016-05-06 12:45:37 UTC) #5
mmenke
I'm going to go ahead and defer to palmer here - I assume he has ...
4 years, 7 months ago (2016-05-06 14:29:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/20001
4 years, 7 months ago (2016-05-06 16:16:18 UTC) #9
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 7 months ago (2016-05-06 16:16:21 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/20001
4 years, 7 months ago (2016-05-06 16:19:14 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/199608)
4 years, 7 months ago (2016-05-06 16:33:19 UTC) #15
palmer
From the perspective of IPC security, LGTM. But, there is a lot going on here ...
4 years, 7 months ago (2016-05-06 18:38:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/40001
4 years, 7 months ago (2016-05-06 20:16:06 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/179020)
4 years, 7 months ago (2016-05-06 20:25:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/60001
4 years, 7 months ago (2016-05-07 01:47:47 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/179251)
4 years, 7 months ago (2016-05-07 01:55:05 UTC) #28
estark
https://codereview.chromium.org/1957483003/diff/60001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1957483003/diff/60001/content/browser/loader/resource_loader.cc#newcode106 content/browser/loader/resource_loader.cc:106: response->head.signed_certificate_timestamps = Since this is only required for DevTools, ...
4 years, 7 months ago (2016-05-07 07:12:51 UTC) #29
estark
You'll also need approval from a content/ OWNER before you can land this. I don't ...
4 years, 7 months ago (2016-05-07 07:21:30 UTC) #30
dwaxweiler
I have reacted to the comments of estark and updated the CL's description. https://codereview.chromium.org/1957483003/diff/60001/content/browser/loader/resource_loader.cc File ...
4 years, 7 months ago (2016-05-07 13:09:40 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/80001
4 years, 7 months ago (2016-05-07 14:27:25 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/179324)
4 years, 7 months ago (2016-05-07 14:33:42 UTC) #39
estark
lgtm if a //content OWNER is okay with the overall approach (trading IPC overhead when ...
4 years, 7 months ago (2016-05-09 12:10:40 UTC) #40
mmenke
net/ LGTM (Deferring to estark, here)
4 years, 7 months ago (2016-05-09 17:06:12 UTC) #41
Charlie Reis
[+dgozman] I'd like to hear from dgozman@ or pfeldman@ about the implication for IPC overhead ...
4 years, 7 months ago (2016-05-09 20:54:22 UTC) #44
estark
On 2016/05/09 20:54:22, Charlie Reis wrote: > [+dgozman] > > I'd like to hear from ...
4 years, 7 months ago (2016-05-09 20:58:51 UTC) #45
nasko
Overall the idea of the patch makes sense to me. I'm personally fine with the ...
4 years, 7 months ago (2016-05-09 22:51:18 UTC) #46
dgozman
I don't think sending extra data with open DevTools is a problem, so please go ...
4 years, 7 months ago (2016-05-09 23:09:39 UTC) #47
dwaxweiler
I have reacted to the latest comments. https://codereview.chromium.org/1957483003/diff/80001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1957483003/diff/80001/content/browser/loader/resource_loader.cc#newcode106 content/browser/loader/resource_loader.cc:106: if (info->ShouldReportRawHeaders()) ...
4 years, 7 months ago (2016-05-11 06:40:36 UTC) #48
nasko
https://codereview.chromium.org/1957483003/diff/80001/content/public/common/resource_response_info.h File content/public/common/resource_response_info.h (right): https://codereview.chromium.org/1957483003/diff/80001/content/public/common/resource_response_info.h#newcode151 content/public/common/resource_response_info.h:151: // validation status. Only present if the renderer set ...
4 years, 7 months ago (2016-05-11 16:46:28 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/120001
4 years, 7 months ago (2016-05-11 22:10:22 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/4090) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-11 22:13:21 UTC) #54
Charlie Reis
On 2016/05/11 22:13:21, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-11 22:23:01 UTC) #55
Charlie Reis
Just a few nits remaining, and a bit of confusion about ShouldSendExtraCertificateInfo. Happy to approve ...
4 years, 7 months ago (2016-05-11 22:30:23 UTC) #56
estark
https://codereview.chromium.org/1957483003/diff/120001/content/browser/loader/resource_dispatcher_host_impl.cc File content/browser/loader/resource_dispatcher_host_impl.cc (right): https://codereview.chromium.org/1957483003/diff/120001/content/browser/loader/resource_dispatcher_host_impl.cc#newcode1579 content/browser/loader/resource_dispatcher_host_impl.cc:1579: report_raw_headers, report_raw_headers, !is_sync_load, On 2016/05/11 22:30:23, Charlie Reis wrote: ...
4 years, 7 months ago (2016-05-12 00:16:56 UTC) #57
dwaxweiler
I have fixed the latest issues, such as commenting the use of report_raw_headers for adding ...
4 years, 7 months ago (2016-05-12 07:28:16 UTC) #58
Charlie Reis
Thanks! content/ LGTM. @palmer, can you review the IPC stuff again before this lands? https://codereview.chromium.org/1957483003/diff/140001/content/browser/loader/resource_loader.cc ...
4 years, 7 months ago (2016-05-12 21:13:09 UTC) #59
palmer
Yes, I was in the process of re-reviewing this. Still LGTM.
4 years, 7 months ago (2016-05-12 22:05:33 UTC) #60
dwaxweiler
Nice! Let's run the tests again. https://codereview.chromium.org/1957483003/diff/140001/content/browser/loader/resource_loader.cc File content/browser/loader/resource_loader.cc (right): https://codereview.chromium.org/1957483003/diff/140001/content/browser/loader/resource_loader.cc#newcode109 content/browser/loader/resource_loader.cc:109: // These data ...
4 years, 7 months ago (2016-05-12 22:24:06 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/160001
4 years, 7 months ago (2016-05-12 22:24:41 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/4760) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-12 22:27:06 UTC) #66
estark
On 2016/05/12 22:24:06, dwaxweiler wrote: > Nice! Let's run the tests again. It looks like ...
4 years, 7 months ago (2016-05-12 22:27:57 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/180001
4 years, 7 months ago (2016-05-12 23:50:34 UTC) #71
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/136636) chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 7 months ago (2016-05-13 00:02:34 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/200001
4 years, 7 months ago (2016-05-13 07:56:00 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/65984) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-13 08:09:09 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/220001
4 years, 7 months ago (2016-05-13 08:16:14 UTC) #81
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/65505)
4 years, 7 months ago (2016-05-13 08:28:30 UTC) #83
dwaxweiler
On 2016/05/13 08:28:30, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-13 13:57:17 UTC) #84
palmer
> @palmer, I have added one missing method in IPC. Can you have a look ...
4 years, 7 months ago (2016-05-17 17:57:40 UTC) #85
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1957483003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1957483003/240001
4 years, 7 months ago (2016-05-17 21:22:22 UTC) #88
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 7 months ago (2016-05-17 23:53:50 UTC) #90
commit-bot: I haz the power
Patchset 13 (id:??) landed as https://crrev.com/88f6c692a10e5da4d1d87dac49d243359048f097 Cr-Commit-Position: refs/heads/master@{#394271}
4 years, 7 months ago (2016-05-17 23:56:15 UTC) #92
estark
4 years, 7 months ago (2016-05-17 23:57:43 UTC) #93
Message was sent while issue was closed.
Daniel: nice job, thanks so much for seeing this through! If you aren't too
burnt out from us annoying reviewers and want to continue to add the SCT details
in devtools, that would be awesome. :)

Powered by Google App Engine
This is Rietveld 408576698