| Index: net/spdy/spdy_session_unittest.cc
|
| diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
|
| index f3fb735b0712d3955ae407ce6f570c60c180f244..a5d9292741c26ca45ba8f9c1a543b9a8a8da22ba 100644
|
| --- a/net/spdy/spdy_session_unittest.cc
|
| +++ b/net/spdy/spdy_session_unittest.cc
|
| @@ -107,7 +107,7 @@
|
| test_url_(kTestUrl),
|
| test_host_port_pair_(kTestHost, kTestPort),
|
| key_(test_host_port_pair_, ProxyServer::Direct(),
|
| - PRIVACY_MODE_DISABLED) {
|
| + kPrivacyModeDisabled) {
|
| }
|
|
|
| virtual ~SpdySessionTest() {
|
| @@ -2719,7 +2719,7 @@
|
|
|
| // Create an idle SPDY session.
|
| SpdySessionKey key1(HostPortPair("1.com", 80), ProxyServer::Direct(),
|
| - PRIVACY_MODE_DISABLED);
|
| + kPrivacyModeDisabled);
|
| base::WeakPtr<SpdySession> session1 =
|
| CreateInsecureSpdySession(http_session_, key1, BoundNetLog());
|
| EXPECT_FALSE(pool->IsStalled());
|
| @@ -2779,14 +2779,14 @@
|
|
|
| // Create an idle SPDY session.
|
| SpdySessionKey key1(HostPortPair("1.com", 80), ProxyServer::Direct(),
|
| - PRIVACY_MODE_DISABLED);
|
| + kPrivacyModeDisabled);
|
| base::WeakPtr<SpdySession> session1 =
|
| CreateInsecureSpdySession(http_session_, key1, BoundNetLog());
|
| EXPECT_FALSE(pool->IsStalled());
|
|
|
| // Set up an alias for the idle SPDY session, increasing its ref count to 2.
|
| SpdySessionKey key2(HostPortPair("2.com", 80), ProxyServer::Direct(),
|
| - PRIVACY_MODE_DISABLED);
|
| + kPrivacyModeDisabled);
|
| HostResolver::RequestInfo info(key2.host_port_pair());
|
| AddressList addresses;
|
| // Pre-populate the DNS cache, since a synchronous resolution is required in
|
| @@ -2867,7 +2867,7 @@
|
| // Create a SPDY session.
|
| GURL url1(kDefaultURL);
|
| SpdySessionKey key1(HostPortPair(url1.host(), 80),
|
| - ProxyServer::Direct(), PRIVACY_MODE_DISABLED);
|
| + ProxyServer::Direct(), kPrivacyModeDisabled);
|
| base::WeakPtr<SpdySession> session1 =
|
| CreateInsecureSpdySession(http_session_, key1, BoundNetLog());
|
| EXPECT_FALSE(pool->IsStalled());
|
| @@ -2928,9 +2928,9 @@
|
|
|
| HostPortPair host_port_pair("www.google.com", 443);
|
| SpdySessionKey key_privacy_enabled(host_port_pair, ProxyServer::Direct(),
|
| - PRIVACY_MODE_ENABLED);
|
| + kPrivacyModeEnabled);
|
| SpdySessionKey key_privacy_disabled(host_port_pair, ProxyServer::Direct(),
|
| - PRIVACY_MODE_DISABLED);
|
| + kPrivacyModeDisabled);
|
|
|
| EXPECT_FALSE(HasSpdySession(spdy_session_pool_, key_privacy_enabled));
|
| EXPECT_FALSE(HasSpdySession(spdy_session_pool_, key_privacy_disabled));
|
|
|