Index: net/spdy/spdy_session_pool_unittest.cc |
diff --git a/net/spdy/spdy_session_pool_unittest.cc b/net/spdy/spdy_session_pool_unittest.cc |
index f246dd0a2794f2051beee532e42c93094ed9fa18..c9873fc8141d3b830a263339f697c3391ab6f655 100644 |
--- a/net/spdy/spdy_session_pool_unittest.cc |
+++ b/net/spdy/spdy_session_pool_unittest.cc |
@@ -96,7 +96,7 @@ |
SpdySessionKey test_key = |
SpdySessionKey( |
test_host_port_pair, ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
MockConnect connect_data(SYNCHRONOUS, OK); |
MockRead reads[] = { |
@@ -157,7 +157,7 @@ |
const std::string kTestHost1("http://www.a.com"); |
HostPortPair test_host_port_pair1(kTestHost1, 80); |
SpdySessionKey key1(test_host_port_pair1, ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
base::WeakPtr<SpdySession> session1 = |
CreateInsecureSpdySession(http_session_, key1, BoundNetLog()); |
GURL url1(kTestHost1); |
@@ -171,7 +171,7 @@ |
const std::string kTestHost2("http://www.b.com"); |
HostPortPair test_host_port_pair2(kTestHost2, 80); |
SpdySessionKey key2(test_host_port_pair2, ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
base::WeakPtr<SpdySession> session2 = |
CreateInsecureSpdySession(http_session_, key2, BoundNetLog()); |
GURL url2(kTestHost2); |
@@ -185,7 +185,7 @@ |
const std::string kTestHost3("http://www.c.com"); |
HostPortPair test_host_port_pair3(kTestHost3, 80); |
SpdySessionKey key3(test_host_port_pair3, ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
base::WeakPtr<SpdySession> session3 = |
CreateInsecureSpdySession(http_session_, key3, BoundNetLog()); |
GURL url3(kTestHost3); |
@@ -259,7 +259,7 @@ |
SpdySessionKey test_key = |
SpdySessionKey( |
test_host_port_pair, ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
MockConnect connect_data(SYNCHRONOUS, OK); |
MockRead reads[] = { |
@@ -348,7 +348,7 @@ |
// Setup a SpdySessionKey |
test_hosts[i].key = SpdySessionKey( |
HostPortPair(test_hosts[i].name, kTestPort), ProxyServer::Direct(), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
} |
MockConnect connect_data(SYNCHRONOUS, OK); |
@@ -382,7 +382,7 @@ |
// Verify that the second host, through a proxy, won't share the IP. |
SpdySessionKey proxy_key(test_hosts[1].key.host_port_pair(), |
ProxyServer::FromPacString("HTTP http://proxy.foo.com/"), |
- PRIVACY_MODE_DISABLED); |
+ kPrivacyModeDisabled); |
EXPECT_FALSE(HasSpdySession(spdy_session_pool_, proxy_key)); |
// Overlap between 2 and 3 does is not transitive to 1. |