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

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed)

Created:
4 years, 11 months ago by ramant (doing other things)
Modified:
4 years, 11 months ago
Reviewers:
mef, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, ianswett
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

QUIC - Allow cronet apps to specify how many server configs are to be persisted in prefs file (local_prefs.json). Added "max_server_configs_stored_in_properties" cronet experiment options. Will delete support for "store_server_configs_in_properties", after all cronet apps stop using it. Added backward compatibility code that sets number_of_server_configs_stored_in_properties to 5 when this option is enabled. R=rch@chromium.org, mef@chromium.org Committed: https://crrev.com/6971c17d82c972e7bd26eb2e463e89b1f4922047 Cr-Commit-Position: refs/heads/master@{#369825}

Patch Set 1 : #

Patch Set 2 : load all server configs from disk #

Total comments: 4

Patch Set 3 : Fixed comments #

Patch Set 4 : reabse TOT #

Total comments: 20

Patch Set 5 : Fix comments in Patch set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -42 lines) Patch
M components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/cronet/url_request_context_config.cc View 1 2 3 4 3 chunks +14 lines, -2 lines 0 comments Download
M components/cronet/url_request_context_config_unittest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 3 chunks +25 lines, -2 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 3 chunks +17 lines, -2 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 4 chunks +22 lines, -1 line 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 3 4 chunks +2 lines, -9 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 chunks +3 lines, -4 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 4 5 chunks +5 lines, -4 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 47 (25 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/20001
4 years, 11 months ago (2016-01-09 03:39:17 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-09 04:49:25 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/40001
4 years, 11 months ago (2016-01-11 18:39:19 UTC) #15
ramant (doing other things)
Hi Ryan and Misha, One of the App which uses cronet has more than 5 ...
4 years, 11 months ago (2016-01-11 18:47:09 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-11 20:08:55 UTC) #18
Ryan Hamilton
https://codereview.chromium.org/1572753003/diff/60001/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/1572753003/diff/60001/net/http/http_network_session.h#newcode158 net/http/http_network_session.h:158: int quic_number_of_server_configs_stored_in_properties; nit: s/number_of/max/ https://codereview.chromium.org/1572753003/diff/60001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/1572753003/diff/60001/net/quic/quic_stream_factory.cc#newcode661 ...
4 years, 11 months ago (2016-01-12 19:54:56 UTC) #19
ramant (doing other things)
Thanks Ryan. Made the changes. PTAL. https://codereview.chromium.org/1572753003/diff/60001/net/http/http_network_session.h File net/http/http_network_session.h (right): https://codereview.chromium.org/1572753003/diff/60001/net/http/http_network_session.h#newcode158 net/http/http_network_session.h:158: int quic_number_of_server_configs_stored_in_properties; On ...
4 years, 11 months ago (2016-01-14 00:14:01 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/80001
4 years, 11 months ago (2016-01-14 00:15:43 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) ...
4 years, 11 months ago (2016-01-14 02:23:02 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/100001
4 years, 11 months ago (2016-01-14 20:34:28 UTC) #27
ramant (doing other things)
Hi Ryan, Merged with TOT and thus it pulled in lot of changes (android builds ...
4 years, 11 months ago (2016-01-14 20:47:28 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-14 21:44:25 UTC) #30
Ryan Hamilton
lgtm
4 years, 11 months ago (2016-01-15 00:56:03 UTC) #31
ramant (doing other things)
On 2016/01/15 00:56:03, Ryan Hamilton wrote: > lgtm Thanks much Ryan. Hi Misha, Would appreciate ...
4 years, 11 months ago (2016-01-15 01:14:00 UTC) #32
mef
Sorry for the delay. https://codereview.chromium.org/1572753003/diff/100001/components/cronet/url_request_context_config.cc File components/cronet/url_request_context_config.cc (right): https://codereview.chromium.org/1572753003/diff/100001/components/cronet/url_request_context_config.cc#newcode82 components/cronet/url_request_context_config.cc:82: // Added this for backward ...
4 years, 11 months ago (2016-01-15 16:12:32 UTC) #33
ramant (doing other things)
Thanks Misha. PTAL. https://codereview.chromium.org/1572753003/diff/100001/components/cronet/url_request_context_config.cc File components/cronet/url_request_context_config.cc (right): https://codereview.chromium.org/1572753003/diff/100001/components/cronet/url_request_context_config.cc#newcode82 components/cronet/url_request_context_config.cc:82: // Added this for backward compatability. ...
4 years, 11 months ago (2016-01-15 18:57:01 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/120001
4 years, 11 months ago (2016-01-15 18:59:27 UTC) #36
mef
lgtm https://codereview.chromium.org/1572753003/diff/100001/net/http/http_network_session.cc File net/http/http_network_session.cc (right): https://codereview.chromium.org/1572753003/diff/100001/net/http/http_network_session.cc#newcode117 net/http/http_network_session.cc:117: quic_max_server_configs_stored_in_properties(0), On 2016/01/15 18:57:00, ramant wrote: > On ...
4 years, 11 months ago (2016-01-15 20:01:36 UTC) #37
ramant (doing other things)
On 2016/01/15 20:01:36, mef wrote: > lgtm > > https://codereview.chromium.org/1572753003/diff/100001/net/http/http_network_session.cc > File net/http/http_network_session.cc (right): > ...
4 years, 11 months ago (2016-01-15 20:03:50 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572753003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572753003/120001
4 years, 11 months ago (2016-01-15 20:06:46 UTC) #43
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 11 months ago (2016-01-15 20:12:18 UTC) #45
commit-bot: I haz the power
4 years, 11 months ago (2016-01-15 20:13:18 UTC) #47
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6971c17d82c972e7bd26eb2e463e89b1f4922047
Cr-Commit-Position: refs/heads/master@{#369825}

Powered by Google App Engine
This is Rietveld 408576698