summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction_unittest.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-07 09:33:55 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-07 09:33:55 +0000
commit9801e370c82b2545fe6a1d90e2911c670a296644 (patch)
treef521e2ff51c627f1d4ae27d639fcae0c68a323e1 /net/http/http_network_transaction_unittest.cc
parent28879959cb951f3052ded411fa2ebac48e62bfb6 (diff)
downloadchromium_src-9801e370c82b2545fe6a1d90e2911c670a296644.zip
chromium_src-9801e370c82b2545fe6a1d90e2911c670a296644.tar.gz
chromium_src-9801e370c82b2545fe6a1d90e2911c670a296644.tar.bz2
Relanding 255326 - Implement MRU for AlternateProtocolMap. Persist only the most recently used 200 entries. In memory keep all the entries.
The following is the revert of revert description: Revert 255326 "Revert of HttpServerProperties - Implement MRU fo..." > Revert of HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist (https://codereview.chromium.org/182383016/) > > Reason for revert: > Broke compile on a bunch of bots: > Chromium Linux Builder (valgrind) > Chromium OS Builder (valgrind) > Chromium Windows Builder (DrMemory) > Linux Builder (TSan v2) > > Log: > http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Linux%20Builder%20%28valgrind%29/builds/73182/steps/compile/logs/stdio > > > Original issue's description: > > HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist > > only the most recently used 200 entries. In memory keep all the entries. > > > > BUG=258189 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255323 > > TBR=rch@chromium.org,rtenneti@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=258189 > > Review URL: https://codereview.chromium.org/188663002 TBR=rmistry@chromium.org, rch@chromium.org BUG=258189 Review URL: https://codereview.chromium.org/180743026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction_unittest.cc')
-rw-r--r--net/http/http_network_transaction_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index aa7967d..9669033 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -8144,7 +8144,7 @@ TEST_P(HttpNetworkTransactionTest, HonorAlternateProtocolHeader) {
EXPECT_EQ(ERR_IO_PENDING, rv);
HostPortPair http_host_port_pair("www.google.com", 80);
- const HttpServerProperties& http_server_properties =
+ HttpServerProperties& http_server_properties =
*session->http_server_properties();
EXPECT_FALSE(
http_server_properties.HasAlternateProtocol(http_host_port_pair));