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

Issue 1699653002: Remove support for Alt-Svc/Alternate Protocol Probability (Closed)

Created:
4 years, 10 months ago by Ryan Hamilton
Modified:
4 years, 9 months ago
Reviewers:
Bence, eroman, mef, mmenke, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ian Swett
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove support forAlt-Svc/Alternate Protocol Probability Committed: https://crrev.com/dced4c771d25317d26a0f6e258c7b7f64d4e8eea Cr-Commit-Position: refs/heads/master@{#379652} Committed: https://crrev.com/740688bec5c66af00debe117b6d375ecd212e570 Cr-Commit-Position: refs/heads/master@{#381134} Committed: https://crrev.com/dc7b9058657530c2df23e4ab7b4b3b03f54cde5f Cr-Commit-Position: refs/heads/master@{#381791}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : fix cronet and iOS #

Total comments: 4

Patch Set 5 : really fix cronet and iOS? #

Patch Set 6 : address mef's comments #

Patch Set 7 : more ios fix #

Patch Set 8 : Fix iOS more #

Patch Set 9 : Fix BIDI #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -652 lines) Patch
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -43 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 chunks +0 lines, -42 lines 0 comments Download
M chrome/browser/resources/net_internals/quic_view.html View 1 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M components/cronet/android/url_request_context_adapter.cc View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -6 lines 0 comments Download
M ios/chrome/browser/ios_chrome_io_thread.mm View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -30 lines 0 comments Download
M ios/crnet/CrNet.h View 1 2 3 4 5 6 1 chunk +0 lines, -23 lines 0 comments Download
M ios/crnet/CrNet.mm View 1 2 3 4 3 chunks +0 lines, -7 lines 0 comments Download
M ios/crnet/crnet_consumer/crnet_consumer_app_delegate.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M ios/crnet/crnet_environment.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M ios/crnet/crnet_environment.mm View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M net/http/http_network_session.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -5 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 17 chunks +20 lines, -21 lines 0 comments Download
M net/http/http_server_properties.h View 6 chunks +3 lines, -17 lines 0 comments Download
M net/http/http_server_properties.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M net/http/http_server_properties_impl.h View 3 chunks +0 lines, -4 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 7 chunks +9 lines, -27 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 5 6 7 8 32 chunks +49 lines, -139 lines 0 comments Download
M net/http/http_server_properties_manager.h View 2 chunks +0 lines, -2 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 5 chunks +1 line, -22 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 17 chunks +21 lines, -28 lines 0 comments Download
M net/http/http_stream_factory.cc View 3 chunks +3 lines, -18 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -4 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +3 lines, -169 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 57 (19 generated)
Ryan Hamilton
bnc: PTAL ianswett: FYI
4 years, 9 months ago (2016-03-03 19:04:03 UTC) #2
Bence
On 2016/03/03 19:04:03, Ryan Hamilton wrote: > bnc: PTAL > ianswett: FYI Please change description ...
4 years, 9 months ago (2016-03-04 13:59:22 UTC) #3
Ryan Hamilton
On 2016/03/04 13:59:22, Bence wrote: > On 2016/03/03 19:04:03, Ryan Hamilton wrote: > > bnc: ...
4 years, 9 months ago (2016-03-04 15:02:09 UTC) #5
Bence
LGTM
4 years, 9 months ago (2016-03-04 15:07:23 UTC) #6
Ryan Hamilton
eroman: OWNERS review for chrome/browser/resources/net_internals/quic_view.html, please
4 years, 9 months ago (2016-03-04 17:46:53 UTC) #7
Ryan Hamilton
eroman: OWNERS review for chrome/browser/resources/net_internals/quic_view.html, please mef: OWNERS review for components/cronet/android/url_request_context_adapter.cc, please
4 years, 9 months ago (2016-03-04 18:28:04 UTC) #9
eroman
LGTM for chrome/browser/resources/net_internals/*
4 years, 9 months ago (2016-03-04 18:37:03 UTC) #10
mef
https://codereview.chromium.org/1699653002/diff/60001/components/cronet/android/url_request_context_adapter.cc File components/cronet/android/url_request_context_adapter.cc (right): https://codereview.chromium.org/1699653002/diff/60001/components/cronet/android/url_request_context_adapter.cc#newcode167 components/cronet/android/url_request_context_adapter.cc:167: // Currently (circa M39) enabling QUIC requires setting probability ...
4 years, 9 months ago (2016-03-04 18:40:40 UTC) #11
Ryan Hamilton
https://codereview.chromium.org/1699653002/diff/60001/components/cronet/android/url_request_context_adapter.cc File components/cronet/android/url_request_context_adapter.cc (right): https://codereview.chromium.org/1699653002/diff/60001/components/cronet/android/url_request_context_adapter.cc#newcode167 components/cronet/android/url_request_context_adapter.cc:167: // Currently (circa M39) enabling QUIC requires setting probability ...
4 years, 9 months ago (2016-03-04 19:17:57 UTC) #12
mef
Sorry for the delay, lgtm.
4 years, 9 months ago (2016-03-07 19:49:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699653002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699653002/120001
4 years, 9 months ago (2016-03-07 20:17:43 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-07 21:51:16 UTC) #17
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/dced4c771d25317d26a0f6e258c7b7f64d4e8eea Cr-Commit-Position: refs/heads/master@{#379652}
4 years, 9 months ago (2016-03-07 21:52:28 UTC) #19
anthonyvd
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1773853003/ by anthonyvd@chromium.org. ...
4 years, 9 months ago (2016-03-07 22:02:44 UTC) #20
mef
On 2016/03/07 22:02:44, anthonyvd wrote: > A revert of this CL (patchset #7 id:120001) has ...
4 years, 9 months ago (2016-03-07 22:08:44 UTC) #21
mef
On 2016/03/07 22:08:44, mef wrote: > On 2016/03/07 22:02:44, anthonyvd wrote: > > A revert ...
4 years, 9 months ago (2016-03-07 22:18:45 UTC) #22
Ryan Hamilton
mef: PTAL
4 years, 9 months ago (2016-03-07 22:59:29 UTC) #24
mef
still lgtm
4 years, 9 months ago (2016-03-07 23:00:29 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699653002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699653002/140001
4 years, 9 months ago (2016-03-07 23:01:47 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/192625)
4 years, 9 months ago (2016-03-08 00:36:52 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699653002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699653002/140001
4 years, 9 months ago (2016-03-14 23:12:19 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-15 00:33:36 UTC) #34
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/740688bec5c66af00debe117b6d375ecd212e570 Cr-Commit-Position: refs/heads/master@{#381134}
4 years, 9 months ago (2016-03-15 00:35:25 UTC) #36
PEConn
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1802893002/ by peconn@chromium.org. ...
4 years, 9 months ago (2016-03-15 09:21:46 UTC) #37
Ryan Hamilton
mef, et. al.: I thought we had confirmed that all various cronet configurations were part ...
4 years, 9 months ago (2016-03-17 00:43:47 UTC) #40
xunjieli
Nope. Cronet configurations aren't part of the CQ. We have a trybot, but it is ...
4 years, 9 months ago (2016-03-17 00:52:40 UTC) #41
mmenke
I suspect the binary savings aren't huge, and it's a reasonable concern. On the other ...
4 years, 9 months ago (2016-03-17 04:09:39 UTC) #42
xunjieli
The #ifdefs are for the build flag, enable_bidirectional_stream. We have quite a number of C++ ...
4 years, 9 months ago (2016-03-17 13:51:50 UTC) #43
Ryan Hamilton
On Wed, Mar 16, 2016 at 9:09 PM, Matt Menke <mmenke@chromium.org> wrote: > I suspect ...
4 years, 9 months ago (2016-03-17 14:14:54 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699653002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699653002/160001
4 years, 9 months ago (2016-03-17 18:33:23 UTC) #47
mef
On 2016/03/17 04:09:39, mmenke wrote: > I suspect the binary savings aren't huge, and it's ...
4 years, 9 months ago (2016-03-17 20:25:07 UTC) #48
Ryan Hamilton
On 2016/03/17 20:25:07, mef wrote: > On 2016/03/17 04:09:39, mmenke wrote: > > > > ...
4 years, 9 months ago (2016-03-17 20:40:36 UTC) #49
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-17 20:52:00 UTC) #51
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/dc7b9058657530c2df23e4ab7b4b3b03f54cde5f Cr-Commit-Position: refs/heads/master@{#381791}
4 years, 9 months ago (2016-03-17 20:53:02 UTC) #53
mmenke
On Thu, Mar 17, 2016 at 4:25 PM, <mef@chromium.org> wrote: > On 2016/03/17 04:09:39, mmenke ...
4 years, 9 months ago (2016-03-18 14:57:23 UTC) #54
mef
On 2016/03/18 14:57:23, mmenke wrote: > On Thu, Mar 17, 2016 at 4:25 PM, <mailto:mef@chromium.org> ...
4 years, 9 months ago (2016-03-18 15:09:03 UTC) #55
xunjieli
On Fri, Mar 18, 2016 at 11:09 AM, <mef@chromium.org> wrote: > On 2016/03/18 14:57:23, mmenke ...
4 years, 9 months ago (2016-03-18 15:10:13 UTC) #56
mmenke
4 years, 9 months ago (2016-03-18 15:14:24 UTC) #57
Message was sent while issue was closed.
On Fri, Mar 18, 2016 at 11:10 AM, Helen Li <xunjieli@chromium.org> wrote:

>
>
> On Fri, Mar 18, 2016 at 11:09 AM, <mef@chromium.org> wrote:
>
>> On 2016/03/18 14:57:23, mmenke wrote:
>> > On Thu, Mar 17, 2016 at 4:25 PM, <mailto:mef@chromium.org> wrote:
>> >
>> > > On 2016/03/17 04:09:39, mmenke wrote:
>> > > > I suspect the binary savings aren't huge, and it's a reasonable
>> concern.
>> > > > On the other hand, remove the ifdefs and we may discover a bunch of
>> code
>> > > is
>> > > > unexpectedly depending on the C++ APIs, which may also be fine,
>> assuming
>> > > > we're fairly happy with the C++ APIs, and they don't tend to lead to
>> > > broken
>> > > > code (Unlike, say, URLRequest and URLFetcher).
>> > > Do you mean the danger of somebody using net::BidirectionalStream C++
>> API
>> > > outside of Cronet, like in Chrome proper or something?
>> > >
>> >
>> > That's exactly what I mean.
>> Can we use NET_EXPORT_PRIVATE for net::BidirectionalStream to avoid that?
>>
>>
> Cronet wrappers are in components/, so we can't use NET_EXPORT_PRIVATE,
> right?
>

NET_EXPORT_PRIVATE isn't actually enforced...But yea, using it on something
Cronet uses from outside of net/ doesn't seem good.


>
>
>> >
>> > > >
>> > > > That having been said...If we aren't building Cronet at all on the
>> bots,
>> > > > removing the #ifdefs doesn't really address the underlying problem.
>> > > FWIW we currently ARE building Cronet on regular Android bots,
>> however we
>> > > are
>> > > NOT testing it there,
>> > > and we don't have 'enable_bidirectional_stream' feature flag set.
>> > >
>> >
>> > Ahh...And not with the icu alternatives magic, either, I guess?
>> Regular Android builds do build 3 cronet-specific targets -
>> url_use_icu_alternatives_on_android, net_small and cronet, but don't
>> execute any
>> tests on them.
>>
>
So why can't they build with bidirectional streams?  I'm suddenly very
confused on what's going on here.


> >
>> >
>> > > Also, given that we have a separate Cronet waterfall, we could
>> consider NOT
>> > > building Cronet on regular Android bots,
>> > > as this takes time and clutters gyp/gn files (specifically net_small
>> and
>> > > url_use_icu_alternatives_on_android targets).
>> > >
>> > > >
>> > > > On Wed, Mar 16, 2016 at 8:52 PM, Helen Li <mailto:
>> xunjieli@chromium.org>
>> > > wrote:
>> > > >
>> > > > > Nope. Cronet configurations aren't part of the CQ. We have a
>> trybot,
>> > > but
>> > > > > it is in an incorrect state right now (
>> > > > > https://codereview.chromium.org/1750743002/), so you can't
>> really use
>> > > > > it. I don't really like #ifdefs too (since the compile and
>> unittests
>> > > > > aren't being run on the CQ bots, and code search's cross reference
>> > > doesn't
>> > > > > work either), but #ifdefs does save some binary footprint on
>> chrome
>> > > proper,
>> > > > > so I am not sure. Matt, do you have any thought on removing the
>> #ifdefs
>> > > > > from net::BidirectionalStream?
>> > > I'm +1 for removal of #ifdefs.
>> > > > >
>> > > > > On Wed, Mar 16, 2016 at 8:43 PM, <mailto:rch@chromium.org> wrote:
>> > > > >
>> > > > >> mef, et. al.: I thought we had confirmed that all various cronet
>> > > > >> configurations
>> > > > >> were part of the CQ. This CL was reverted because of a post-CQ
>> build
>> > > > >> failure.
>> > > > >>
>> > > > >> In any case, how can I get a bot to build this with the right
>> options
>> > > to
>> > > > >> ensure I did this correctly.
>> > > > >>
>> > > > >> Also, I *Really* think we should reconsider the decision to
>> sprinkle
>> > > > >> #ifdefs
>> > > > >> throughout the stack because of this new BIDI streaming code.
>> When
>> > > that CL
>> > > > >> landed, I explained that I was concerned about EXACTLY this
>> problem.
>> > > I hear you, and I agree that for this particular issue removal of
>> > > 'enable_bidirectional_stream' build flag seems like a reasonable
>> solution.
>> > >
>> > > > >>
>> > > > >> https://codereview.chromium.org/1699653002/
>> > > > >>
>> > > > >
>> > > > >
>> > > >
>> > > > --
>> > > > You received this message because you are subscribed to the Google
>> Groups
>> > > > "Chromium-reviews" group.
>> > > > To unsubscribe from this group and stop receiving emails from it,
>> send an
>> > > email
>> > > > to mailto:chromium-reviews+unsubscribe@chromium.org.
>> > >
>> > >
>> > > https://codereview.chromium.org/1699653002/
>> > >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Chromium-reviews" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> email
>> > to mailto:chromium-reviews+unsubscribe@chromium.org.
>>
>>
>>
>> https://codereview.chromium.org/1699653002/
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698