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

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed)

Created:
8 years ago by Ryan Hamilton
Modified:
8 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Move a number of static variables SPDY to HttpNetworkSession::Params. Simplifies the creation of HttpNetworkSession::Params in IOThread by creating a method to do just that. Fixes a bug in chrome/browser/profiles/profile_io_data.cc where some of the Globals were not being consulted when the HttpNetworkSession was constructed. BUG=162571 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170967

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Moar cleanup #

Total comments: 21

Patch Set 4 : Fix comments #

Total comments: 4

Patch Set 5 : Fix comments #

Total comments: 3

Patch Set 6 : Fix flip_in_mem_edsm_server #

Unified diffs Side-by-side diffs Delta from patch set Stats (+702 lines, -816 lines) Patch
M chrome/browser/chrome_browser_field_trials.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/io_thread.h View 1 2 3 4 4 chunks +33 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 9 chunks +84 lines, -66 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 2 chunks +2 lines, -12 lines 0 comments Download
M net/base/net_test_suite.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_network_session.h View 1 1 chunk +11 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 4 chunks +26 lines, -1 line 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy2_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy3_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/buffered_spdy_framer.h View 2 chunks +2 lines, -3 lines 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 2 3 2 chunks +2 lines, -13 lines 0 comments Download
M net/spdy/buffered_spdy_framer_spdy2_unittest.cc View 5 chunks +10 lines, -13 lines 0 comments Download
M net/spdy/buffered_spdy_framer_spdy3_unittest.cc View 5 chunks +11 lines, -13 lines 0 comments Download
M net/spdy/spdy_credential_builder_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_http_stream_spdy2_unittest.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M net/spdy/spdy_http_stream_spdy3_unittest.cc View 1 2 3 2 chunks +2 lines, -8 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy2_unittest.cc View 1 2 9 chunks +8 lines, -11 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 1 2 9 chunks +8 lines, -11 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc View 3 chunks +1 line, -6 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc View 3 chunks +1 line, -6 lines 0 comments Download
M net/spdy/spdy_session.h View 8 chunks +17 lines, -28 lines 0 comments Download
M net/spdy/spdy_session.cc View 12 chunks +38 lines, -83 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 1 2 3 5 chunks +25 lines, -16 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 2 3 9 chunks +47 lines, -10 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 3 7 chunks +8 lines, -16 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 3 9 chunks +11 lines, -17 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 2 chunks +1 line, -8 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 2 chunks +1 line, -8 lines 0 comments Download
M net/spdy/spdy_test_util_spdy2.h View 1 2 3 3 chunks +5 lines, -10 lines 0 comments Download
M net/spdy/spdy_test_util_spdy2.cc View 1 2 3 29 chunks +141 lines, -186 lines 0 comments Download
M net/spdy/spdy_test_util_spdy3.h View 1 2 3 5 chunks +40 lines, -15 lines 0 comments Download
M net/spdy/spdy_test_util_spdy3.cc View 1 2 3 30 chunks +161 lines, -206 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy2_unittest.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy3_unittest.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M net/spdy/spdy_websocket_test_util_spdy2.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_websocket_test_util_spdy3.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/tools/flip_server/spdy_interface.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M net/websockets/websocket_job_spdy2_unittest.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M net/websockets/websocket_job_spdy3_unittest.cc View 2 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Ryan Hamilton
Howdy Will, So... I hear you don't like static. So I removed all the static ...
8 years ago (2012-12-01 00:17:56 UTC) #1
willchan no longer on Chromium
I like it! Thanks for the cleanup. LGTM, mod nits. https://codereview.chromium.org/11415219/diff/5001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/11415219/diff/5001/chrome/browser/io_thread.cc#oldcode56 ...
8 years ago (2012-12-01 20:49:13 UTC) #2
Ryan Hamilton
Thanks! https://codereview.chromium.org/11415219/diff/5001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (left): https://codereview.chromium.org/11415219/diff/5001/chrome/browser/io_thread.cc#oldcode56 chrome/browser/io_thread.cc:56: #include "net/http/http_network_session.h" On 2012/12/01 20:49:13, willchan wrote: > ...
8 years ago (2012-12-01 23:02:24 UTC) #3
Ryan Hamilton
thakis: can you approve the Chrome changes?
8 years ago (2012-12-01 23:03:23 UTC) #4
willchan no longer on Chromium
https://codereview.chromium.org/11415219/diff/5001/net/spdy/spdy_session_spdy3_unittest.cc File net/spdy/spdy_session_spdy3_unittest.cc (right): https://codereview.chromium.org/11415219/diff/5001/net/spdy/spdy_session_spdy3_unittest.cc#newcode410 net/spdy/spdy_session_spdy3_unittest.cc:410: g_delta_seconds = 301; On 2012/12/01 23:02:25, Ryan Hamilton wrote: ...
8 years ago (2012-12-01 23:05:53 UTC) #5
Ryan Hamilton
On 2012/12/01 23:05:53, willchan wrote: > https://codereview.chromium.org/11415219/diff/5001/net/spdy/spdy_session_spdy3_unittest.cc > File net/spdy/spdy_session_spdy3_unittest.cc (right): > > https://codereview.chromium.org/11415219/diff/5001/net/spdy/spdy_session_spdy3_unittest.cc#newcode410 > ...
8 years ago (2012-12-01 23:08:30 UTC) #6
Nico
https://codereview.chromium.org/11415219/diff/7002/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/11415219/diff/7002/chrome/browser/io_thread.cc#newcode251 chrome/browser/io_thread.cc:251: params->enable_spdy_ip_pooling = globals.enable_spdy_ip_pooling; Does this even work? params->enabled_spdy_ip_pooling is ...
8 years ago (2012-12-02 03:54:23 UTC) #7
Ryan Hamilton
willchan: can you take a look at the change to chrome/browser/profiles/profile_io_data.cc? I believe this is ...
8 years ago (2012-12-03 23:04:12 UTC) #8
Nico
chrome lgtm
8 years ago (2012-12-03 23:18:19 UTC) #9
willchan no longer on Chromium
I need to examine the Optional stuff as we discussed offline. The other thing you ...
8 years ago (2012-12-03 23:43:43 UTC) #10
Ryan Hamilton
https://codereview.chromium.org/11415219/diff/12001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/11415219/diff/12001/chrome/browser/io_thread.cc#newcode765 chrome/browser/io_thread.cc:765: void IOThread::InitializeNetworkSessionParams( On 2012/12/03 23:43:43, willchan wrote: > Please ...
8 years ago (2012-12-04 00:06:04 UTC) #11
willchan no longer on Chromium
the optional stuff lgtm too, so lgtm overall
8 years ago (2012-12-04 00:23:08 UTC) #12
willchan no longer on Chromium
https://codereview.chromium.org/11415219/diff/12001/chrome/browser/io_thread.cc File chrome/browser/io_thread.cc (right): https://codereview.chromium.org/11415219/diff/12001/chrome/browser/io_thread.cc#newcode765 chrome/browser/io_thread.cc:765: void IOThread::InitializeNetworkSessionParams( On 2012/12/04 00:06:04, Ryan Hamilton wrote: > ...
8 years ago (2012-12-04 00:37:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11415219/12001
8 years ago (2012-12-04 00:40:41 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 01:02:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11415219/8045
8 years ago (2012-12-04 03:08:17 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests
8 years ago (2012-12-04 04:08:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11415219/8045
8 years ago (2012-12-04 04:35:57 UTC) #18
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
8 years ago (2012-12-04 07:02:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11415219/8045
8 years ago (2012-12-04 15:09:42 UTC) #20
commit-bot: I haz the power
8 years ago (2012-12-04 15:52:14 UTC) #21
Message was sent while issue was closed.
Change committed as 170967

Powered by Google App Engine
This is Rietveld 408576698