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

Issue 2906633003: Add a build flag to configure bundling of HSTS preload list (Closed)

Created:
3 years, 7 months ago by xunjieli
Modified:
3 years, 5 months ago
Reviewers:
lgarron, Ryan Sleevi
CC:
cbentzel+watch_chromium.org, cbentzel, chromium-reviews, davidben, martijnc, mef, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a build flag to configure bundling of HSTS preload list This CL adds a build flag (INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST) for //net embedders to configure whether to include the preload list (~258KiB) in their binary. BUG=603597 Review-Url: https://codereview.chromium.org/2906633003 Cr-Commit-Position: refs/heads/master@{#487486} Committed: https://chromium.googlesource.com/chromium/src/+/815ad5ba47f22bdfa7ac523048285e873a74aaac

Patch Set 1 #

Patch Set 2 : change flag to INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST #

Total comments: 8

Patch Set 3 : address sleevi comments #

Patch Set 4 : address sleevi comments #

Total comments: 1

Patch Set 5 : self (one typo) #

Total comments: 8

Patch Set 6 : address comments to not compile transport_security_state_static.template #

Patch Set 7 : missed one #

Patch Set 8 : one more #

Total comments: 9

Patch Set 9 : address Ryan comments #

Patch Set 10 : address Ryan comments #

Total comments: 4

Patch Set 11 : add one missing file and address lgarron comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -14 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -1 line 0 comments Download
M net/features.gni View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M net/http/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_security_headers_unittest.cc View 1 2 3 4 5 3 chunks +21 lines, -3 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -4 lines 0 comments Download
M net/http/transport_security_state_source.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
A net/http/transport_security_state_source.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
M net/http/transport_security_state_static.template View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M net/http/transport_security_state_static_unittest.template View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
A net/http/transport_security_state_static_unittest0.json View 1 2 3 4 5 6 7 8 9 10 1 chunk +175 lines, -0 lines 0 comments Download
M net/http/transport_security_state_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -1 line 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 5 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 72 (49 generated)
xunjieli
Hi davidben@ and lgarron@: This is based on martijn's CL. I copied out the hsts ...
3 years, 6 months ago (2017-06-14 12:40:02 UTC) #20
xunjieli
cc-ing rsleevi@ and mef@: Please let me know if you have any concerns. Thank you.
3 years, 6 months ago (2017-06-14 19:33:44 UTC) #21
lgarron
On 2017/06/14 at 19:33:44, xunjieli wrote: > cc-ing rsleevi@ and mef@: Please let me know ...
3 years, 6 months ago (2017-06-14 19:35:45 UTC) #22
lgarron
On 2017/06/14 at 19:35:45, lgarron wrote: > On 2017/06/14 at 19:33:44, xunjieli wrote: > > ...
3 years, 6 months ago (2017-06-14 19:37:48 UTC) #23
xunjieli
On 2017/06/14 19:37:48, lgarron wrote: > On 2017/06/14 at 19:35:45, lgarron wrote: > > On ...
3 years, 6 months ago (2017-06-14 20:31:51 UTC) #24
lgarron
LGTM in principle, but don't own any of this code and I defer to //net ...
3 years, 6 months ago (2017-06-14 21:11:11 UTC) #25
Ryan Sleevi
I didn't see a clear decision on the bug that this was the right thing ...
3 years, 6 months ago (2017-06-15 02:50:11 UTC) #27
xunjieli
On 2017/06/15 02:50:11, Ryan Sleevi (slow through 6-27 wrote: > I didn't see a clear ...
3 years, 6 months ago (2017-06-19 20:58:02 UTC) #28
lgarron
On 2017/06/19 at 20:58:02, xunjieli wrote: > On 2017/06/15 02:50:11, Ryan Sleevi (slow through 6-27 ...
3 years, 6 months ago (2017-06-19 21:00:56 UTC) #29
xunjieli
On 2017/06/19 21:00:56, lgarron wrote: > On 2017/06/19 at 20:58:02, xunjieli wrote: > > On ...
3 years, 6 months ago (2017-06-19 21:05:06 UTC) #31
xunjieli
lgarron@ and rsleevi@: PTAL. //net doesn't know about cronet. There isn't a is_cronet_build flag. The ...
3 years, 5 months ago (2017-06-29 17:38:06 UTC) #32
Ryan Sleevi
https://codereview.chromium.org/2906633003/diff/140001/net/features.gni File net/features.gni (right): https://codereview.chromium.org/2906633003/diff/140001/net/features.gni#newcode31 net/features.gni:31: # Whether transport security preload list should be included. ...
3 years, 5 months ago (2017-06-29 20:47:41 UTC) #33
xunjieli
Thank you. PTAL. https://codereview.chromium.org/2906633003/diff/140001/net/features.gni File net/features.gni (right): https://codereview.chromium.org/2906633003/diff/140001/net/features.gni#newcode31 net/features.gni:31: # Whether transport security preload list ...
3 years, 5 months ago (2017-06-30 19:12:18 UTC) #45
Ryan Sleevi
I'm not sure this is the right approach, but I may have missed something, so ...
3 years, 5 months ago (2017-07-07 16:45:14 UTC) #46
xunjieli
Thanks Ryan for the very helpful review. PTAL. > - We have a clean(ish) API ...
3 years, 5 months ago (2017-07-10 22:20:40 UTC) #51
Ryan Sleevi
LGTM % one nit :) Thanks, it looks much cleaner :) https://codereview.chromium.org/2906633003/diff/320001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): ...
3 years, 5 months ago (2017-07-11 15:29:40 UTC) #52
xunjieli
Thank you for the review. lgarron@: PTAL. https://codereview.chromium.org/2906633003/diff/320001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2906633003/diff/320001/net/http/transport_security_state.cc#newcode49 net/http/transport_security_state.cc:49: const TransportSecurityStateSource* ...
3 years, 5 months ago (2017-07-11 16:45:21 UTC) #53
lgarron
https://codereview.chromium.org/2906633003/diff/360001/net/features.gni File net/features.gni (right): https://codereview.chromium.org/2906633003/diff/360001/net/features.gni#newcode34 net/features.gni:34: # Whether transport security preload list should be included. ...
3 years, 5 months ago (2017-07-11 19:29:04 UTC) #58
xunjieli
Thank you. PTAL. https://codereview.chromium.org/2906633003/diff/360001/net/features.gni File net/features.gni (right): https://codereview.chromium.org/2906633003/diff/360001/net/features.gni#newcode34 net/features.gni:34: # Whether transport security preload list ...
3 years, 5 months ago (2017-07-11 20:27:35 UTC) #59
lgarron
lgtm
3 years, 5 months ago (2017-07-18 06:24:05 UTC) #65
xunjieli
(I have moved everyone else to cc. Let me know if you have any concern. ...
3 years, 5 months ago (2017-07-18 13:05:41 UTC) #66
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/2906633003/380001
3 years, 5 months ago (2017-07-18 13:06:00 UTC) #69
commit-bot: I haz the power
3 years, 5 months ago (2017-07-18 15:51:56 UTC) #72
Message was sent while issue was closed.
Committed patchset #11 (id:380001) as
https://chromium.googlesource.com/chromium/src/+/815ad5ba47f22bdfa7ac52304828...

Powered by Google App Engine
This is Rietveld 408576698