Commit c7f64877 authored by Bence Béky's avatar Bence Béky Committed by Commit Bot

Rename CreateSecureSpdySessionWithIpBasedPoolingDisabled.

Rename CreateSecureSpdySessionWithIpBasedPoolingDisabled to
CreateSpdySessionWithIpBasedPoolingDisabled (since every SpdySession is
now secure).

BUG=737143

Change-Id: I0882d68eeb6f348da88d1904f04ab2b2748fe007
Reviewed-on: https://chromium-review.googlesource.com/570624Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Commit-Queue: Bence Béky <bnc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487540}
parent 79fb9f2d
...@@ -668,7 +668,7 @@ TEST_F(SpdySessionPoolTest, IPPoolingDisabled) { ...@@ -668,7 +668,7 @@ TEST_F(SpdySessionPoolTest, IPPoolingDisabled) {
// It should be possible to open a new SpdySession, even if a previous call to // It should be possible to open a new SpdySession, even if a previous call to
// FindAvailableSession() linked the second key to the first connection in the // FindAvailableSession() linked the second key to the first connection in the
// IP pooled bucket of SpdySessionPool::available_session_map_. // IP pooled bucket of SpdySessionPool::available_session_map_.
session1 = CreateSecureSpdySessionWithIpBasedPoolingDisabled( session1 = CreateSpdySessionWithIpBasedPoolingDisabled(
http_session_.get(), test_hosts[1].key, NetLogWithSource()); http_session_.get(), test_hosts[1].key, NetLogWithSource());
EXPECT_TRUE(session1); EXPECT_TRUE(session1);
EXPECT_NE(session0.get(), session1.get()); EXPECT_NE(session0.get(), session1.get());
......
...@@ -554,7 +554,7 @@ base::WeakPtr<SpdySession> CreateSpdySession(HttpNetworkSession* http_session, ...@@ -554,7 +554,7 @@ base::WeakPtr<SpdySession> CreateSpdySession(HttpNetworkSession* http_session,
/* enable_ip_based_pooling = */ true); /* enable_ip_based_pooling = */ true);
} }
base::WeakPtr<SpdySession> CreateSecureSpdySessionWithIpBasedPoolingDisabled( base::WeakPtr<SpdySession> CreateSpdySessionWithIpBasedPoolingDisabled(
HttpNetworkSession* http_session, HttpNetworkSession* http_session,
const SpdySessionKey& key, const SpdySessionKey& key,
const NetLogWithSource& net_log) { const NetLogWithSource& net_log) {
......
...@@ -253,7 +253,7 @@ base::WeakPtr<SpdySession> CreateSpdySession(HttpNetworkSession* http_session, ...@@ -253,7 +253,7 @@ base::WeakPtr<SpdySession> CreateSpdySession(HttpNetworkSession* http_session,
// Like CreateSpdySession(), but does not fail if there is already an IP // Like CreateSpdySession(), but does not fail if there is already an IP
// pooled session for |key|. // pooled session for |key|.
base::WeakPtr<SpdySession> CreateSecureSpdySessionWithIpBasedPoolingDisabled( base::WeakPtr<SpdySession> CreateSpdySessionWithIpBasedPoolingDisabled(
HttpNetworkSession* http_session, HttpNetworkSession* http_session,
const SpdySessionKey& key, const SpdySessionKey& key,
const NetLogWithSource& net_log); const NetLogWithSource& net_log);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment