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

Issue 1131963003: Switch //net functions to use SchemeIsCryptographic() instead of SchemeIsSecure(). (Closed)

Created:
5 years, 7 months ago by lgarron
Modified:
5 years, 7 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, erikwright (departed), palmer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch //net functions to use SchemeIsCryptographic() instead of SchemeIsSecure(). SchemeIsCryptographic more appropriately reflects the intent (that a cryptographically secure transport was used - e.g. https:// and wss:// schemes), whereas SchemeIsSecure also considers situations where the scheme is locally trusted (e.g. filesystem URLs) BUG=362214 Committed: https://crrev.com/a774b92283e458a9bc77ba0ce49777b74cde493a Cr-Commit-Position: refs/heads/master@{#329966}

Patch Set 1 #

Patch Set 2 : Rebasing. #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -13 lines) Patch
M net/base/sdch_dictionary.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/sdch_manager.cc View 1 3 chunks +3 lines, -3 lines 6 comments Download
M net/cookies/canonical_cookie.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_auth_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 1 chunk +1 line, -1 line 5 comments Download
M net/http/http_stream_parser.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M net/quic/quic_http_stream.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (8 generated)
lgarron
Ryan, would you please take a look at this switch?
5 years, 7 months ago (2015-05-07 18:24:39 UTC) #2
Ryan Sleevi
The description is not accurate - this contains with it a functional change (file URLs ...
5 years, 7 months ago (2015-05-07 18:30:08 UTC) #4
palmer
> The description is not accurate - this contains with it a functional change > ...
5 years, 7 months ago (2015-05-07 19:10:34 UTC) #6
lgarron
On 2015/05/07 at 19:10:34, palmer wrote: > > The description is not accurate - this ...
5 years, 7 months ago (2015-05-07 19:12:53 UTC) #7
Ryan Sleevi
On 2015/05/07 19:10:34, palmer wrote: > Agree. I think we should let unit tests be ...
5 years, 7 months ago (2015-05-07 19:15:37 UTC) #8
Ryan Hamilton
A few comments. * The changes to net/quic/ and net/http/http_stream_parser.cc look fine to me. * ...
5 years, 7 months ago (2015-05-07 23:12:03 UTC) #10
lgarron
I suppose the ship hasn't sailed on naming SchemeIsCryptographic(), but a refactor would cause a ...
5 years, 7 months ago (2015-05-08 01:53:31 UTC) #11
lgarron
5 years, 7 months ago (2015-05-08 21:56:44 UTC) #12
Ryan Sleevi
Somehow I forgot to add Asanka in my original request for comments. I've significantly reworded ...
5 years, 7 months ago (2015-05-08 23:05:17 UTC) #14
lgarron
On 2015/05/08 23:05:17, Ryan Sleevi wrote: > Somehow I forgot to add Asanka in my ...
5 years, 7 months ago (2015-05-08 23:06:59 UTC) #15
asanka
My comments are nits about naming and whether this change captures the intent in SDCH ...
5 years, 7 months ago (2015-05-11 22:00:46 UTC) #16
lgarron
https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc#newcode189 net/base/sdch_manager.cc:189: if (!secure_scheme_supported() && url.SchemeIsCryptographic()) On 2015/05/11 22:00:46, asanka wrote: ...
5 years, 7 months ago (2015-05-11 23:23:47 UTC) #17
Randy Smith (Not in Mondays)
My opinion below, but Elly's the right person to be asking for authoritative SDCH answers ...
5 years, 7 months ago (2015-05-12 14:08:05 UTC) #19
Elly Fong-Jones
https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc#newcode189 net/base/sdch_manager.cc:189: if (!secure_scheme_supported() && url.SchemeIsCryptographic()) On 2015/05/12 14:08:04, rdsmith wrote: ...
5 years, 7 months ago (2015-05-12 15:26:31 UTC) #21
asanka
https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc File net/base/sdch_manager.cc (right): https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc#newcode189 net/base/sdch_manager.cc:189: if (!secure_scheme_supported() && url.SchemeIsCryptographic()) On 2015/05/11 at 23:23:47, lgarron ...
5 years, 7 months ago (2015-05-12 17:00:17 UTC) #22
Randy Smith (Not in Mondays)
On 2015/05/12 17:00:17, asanka wrote: > https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc > File net/base/sdch_manager.cc (right): > > https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc#newcode189 > ...
5 years, 7 months ago (2015-05-12 17:38:09 UTC) #23
lgarron
On 2015/05/12 17:38:09, rdsmith wrote: > On 2015/05/12 17:00:17, asanka wrote: > > https://codereview.chromium.org/1131963003/diff/20001/net/base/sdch_manager.cc > ...
5 years, 7 months ago (2015-05-14 18:43:12 UTC) #24
Elly Fong-Jones
On 2015/05/14 18:43:12, lgarron wrote: > On 2015/05/12 17:38:09, rdsmith wrote: > > On 2015/05/12 ...
5 years, 7 months ago (2015-05-14 19:46:54 UTC) #25
Ryan Sleevi
Consensus is LGTM
5 years, 7 months ago (2015-05-14 20:18:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131963003/20001
5 years, 7 months ago (2015-05-14 21:42:20 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-14 22:56:45 UTC) #29
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 22:58:15 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a774b92283e458a9bc77ba0ce49777b74cde493a
Cr-Commit-Position: refs/heads/master@{#329966}

Powered by Google App Engine
This is Rietveld 408576698