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

Issue 811073004: QUIC - don't load data from disk cache if alternate protocol map doesn't (Closed)

Created:
6 years ago by ramant (doing other things)
Modified:
6 years ago
Reviewers:
Ryan Hamilton
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

QUIC - don't load data from disk cache if alternate protocol map doesn't have an entry. This change tests if we will speed up completion of crypto handshake. We wouldn't have persisted quic server information if we haven't spoken QUIC to the server. In such cases, loading data from disk cache is not on the critical path. This is controlled via a FieldTrial to see if this change would have positive impact or not. R=rch@chromium.org Committed: https://crrev.com/b4af4ed1886d04cc42e6a7a6e6f9d51261caa7fc Cr-Commit-Position: refs/heads/master@{#309116}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : renamed variable #

Total comments: 2

Patch Set 3 : fixed comments from Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -9 lines) Patch
M chrome/browser/io_thread.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 14 chunks +25 lines, -4 lines 0 comments Download
M net/http/http_network_session.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 3 chunks +22 lines, -5 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ramant (doing other things)
6 years ago (2014-12-18 18:27:57 UTC) #1
ramant (doing other things)
Hi Ryan, Implemented what we had talked about not waiting to load from disk cache ...
6 years ago (2014-12-18 18:37:03 UTC) #4
Ryan Hamilton
https://codereview.chromium.org/811073004/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/811073004/diff/20001/chrome/browser/io_thread.cc#newcode1377 chrome/browser/io_thread.cc:1377: quic_trial_params, "load_server_info_if_already_spoke_quic"), "true"); To confirm, are you expecting to ...
6 years ago (2014-12-18 19:19:12 UTC) #5
ramant (doing other things)
Many many thanks Ryan for the name suggestion. PTAL. -raman https://codereview.chromium.org/811073004/diff/20001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/811073004/diff/20001/chrome/browser/io_thread.cc#newcode1377 ...
6 years ago (2014-12-18 20:51:11 UTC) #7
Ryan Hamilton
lgtm Thanks for doing this! https://codereview.chromium.org/811073004/diff/40001/chrome/browser/io_thread_unittest.cc File chrome/browser/io_thread_unittest.cc (right): https://codereview.chromium.org/811073004/diff/40001/chrome/browser/io_thread_unittest.cc#newcode305 chrome/browser/io_thread_unittest.cc:305: EXPECT_TRUE(params.quic_disable_loading_server_info_for_new_servers); please add an ...
6 years ago (2014-12-18 21:12:55 UTC) #8
ramant (doing other things)
Thanks very much Ryan, raman https://codereview.chromium.org/811073004/diff/40001/chrome/browser/io_thread_unittest.cc File chrome/browser/io_thread_unittest.cc (right): https://codereview.chromium.org/811073004/diff/40001/chrome/browser/io_thread_unittest.cc#newcode305 chrome/browser/io_thread_unittest.cc:305: EXPECT_TRUE(params.quic_disable_loading_server_info_for_new_servers); On 2014/12/18 21:12:55, ...
6 years ago (2014-12-18 23:05:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811073004/60001
6 years ago (2014-12-18 23:06:41 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
6 years ago (2014-12-19 00:36:32 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-19 00:37:27 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b4af4ed1886d04cc42e6a7a6e6f9d51261caa7fc
Cr-Commit-Position: refs/heads/master@{#309116}

Powered by Google App Engine
This is Rietveld 408576698