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

Issue 8770035: Save pipelining capabilities for the most used hosts between sessions. (Closed)

Created:
9 years ago by James Simonsen
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Save pipelining capabilities for the most used hosts between sessions. BUG=None TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113315

Patch Set 1 #

Total comments: 39

Patch Set 2 : Put Capability in its own file #

Total comments: 6

Patch Set 3 : Remove SetMaxSize #

Total comments: 1

Patch Set 4 : Use DCHECK #

Patch Set 5 : Merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -112 lines) Patch
M base/memory/mru_cache.h View 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.h View 1 4 chunks +16 lines, -2 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.cc View 1 9 chunks +87 lines, -11 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager_unittest.cc View 1 8 chunks +57 lines, -4 lines 0 comments Download
M net/http/http_pipelined_host.h View 1 4 chunks +6 lines, -12 lines 0 comments Download
A net/http/http_pipelined_host_capability.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M net/http/http_pipelined_host_impl.h View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_pipelined_host_impl.cc View 1 2 3 4 5 chunks +14 lines, -14 lines 0 comments Download
M net/http/http_pipelined_host_impl_unittest.cc View 1 7 chunks +10 lines, -12 lines 0 comments Download
M net/http/http_pipelined_host_pool.h View 1 3 chunks +6 lines, -8 lines 0 comments Download
M net/http/http_pipelined_host_pool.cc View 1 4 chunks +14 lines, -28 lines 0 comments Download
M net/http/http_pipelined_host_pool_unittest.cc View 1 10 chunks +28 lines, -15 lines 0 comments Download
M net/http/http_server_properties.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 5 chunks +27 lines, -0 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 chunks +62 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/net.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
James Simonsen
9 years ago (2011-12-02 03:24:12 UTC) #1
mmenke
Oops. Thought I sent this earlier today. http://codereview.chromium.org/8770035/diff/1/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): http://codereview.chromium.org/8770035/diff/1/chrome/browser/net/http_server_properties_manager.cc#newcode314 chrome/browser/net/http_server_properties_manager.cc:314: int pipeline_capability ...
9 years ago (2011-12-02 21:52:10 UTC) #2
willchan no longer on Chromium
Raman, please verify the HttpServerProperties and HttpServerPropertiesManager code look good to you. http://codereview.chromium.org/8770035/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc ...
9 years ago (2011-12-02 23:35:28 UTC) #3
willchan no longer on Chromium
BTW, everything LGTM. But I'd like Raman to give his approval too since he wrote ...
9 years ago (2011-12-03 00:11:15 UTC) #4
ramant (doing other things)
changes look good. Would be good to get a try bot run. http://codereview.chromium.org/8770035/diff/1/chrome/browser/net/http_server_properties_manager_unittest.cc File chrome/browser/net/http_server_properties_manager_unittest.cc ...
9 years ago (2011-12-03 00:31:43 UTC) #5
mmenke
http://codereview.chromium.org/8770035/diff/1/net/http/http_server_properties.h File net/http/http_server_properties.h (right): http://codereview.chromium.org/8770035/diff/1/net/http/http_server_properties.h#newcode110 net/http/http_server_properties.h:110: virtual PipelineCapabilityMap GetPipelineCapabilityMap() const = 0; On 2011/12/03 00:31:43, ...
9 years ago (2011-12-03 00:38:34 UTC) #6
James Simonsen
http://codereview.chromium.org/8770035/diff/1/chrome/browser/net/http_server_properties_manager.cc File chrome/browser/net/http_server_properties_manager.cc (right): http://codereview.chromium.org/8770035/diff/1/chrome/browser/net/http_server_properties_manager.cc#newcode314 chrome/browser/net/http_server_properties_manager.cc:314: int pipeline_capability = 0; On 2011/12/02 21:52:10, Matt Menke ...
9 years ago (2011-12-03 03:16:00 UTC) #7
ramant (doing other things)
LGTM (please fix the try-bot errors).
9 years ago (2011-12-05 19:05:21 UTC) #8
James Simonsen
On 2011/12/05 19:05:21, ramant wrote: > LGTM (please fix the try-bot errors). Forgot to 'git ...
9 years ago (2011-12-05 22:38:29 UTC) #9
mmenke
LGTM http://codereview.chromium.org/8770035/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): http://codereview.chromium.org/8770035/diff/1/net/http/http_server_properties_impl.cc#newcode60 net/http/http_server_properties_impl.cc:60: pipeline_capability_map_.Clear(); On 2011/12/03 03:16:00, James Simonsen wrote: > ...
9 years ago (2011-12-06 15:50:38 UTC) #10
James Simonsen
http://codereview.chromium.org/8770035/diff/9001/base/memory/mru_cache.h File base/memory/mru_cache.h (right): http://codereview.chromium.org/8770035/diff/9001/base/memory/mru_cache.h#newcode155 base/memory/mru_cache.h:155: void SetMaxSize(size_t new_max_size) { On 2011/12/06 15:50:38, Matt Menke ...
9 years ago (2011-12-06 19:57:49 UTC) #11
mmenke
You're right about the base thing. (And still LGTM, modulo comment) http://codereview.chromium.org/8770035/diff/22001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): ...
9 years ago (2011-12-06 20:02:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/8770035/25002
9 years ago (2011-12-07 00:04:33 UTC) #13
commit-bot: I haz the power
9 years ago (2011-12-07 01:21:28 UTC) #14
Change committed as 113315

Powered by Google App Engine
This is Rietveld 408576698