| Index: net/http/http_proxy_client_socket_pool_unittest.cc
|
| ===================================================================
|
| --- net/http/http_proxy_client_socket_pool_unittest.cc (revision 105385)
|
| +++ net/http/http_proxy_client_socket_pool_unittest.cc (working copy)
|
| @@ -21,6 +21,7 @@
|
| #include "net/socket/client_socket_pool_histograms.h"
|
| #include "net/socket/socket_test_util.h"
|
| #include "net/spdy/spdy_protocol.h"
|
| +#include "net/spdy/spdy_session.h"
|
| #include "net/spdy/spdy_test_util.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -94,6 +95,16 @@
|
| virtual ~HttpProxyClientSocketPoolTest() {
|
| }
|
|
|
| + virtual void SetUp() OVERRIDE {
|
| + // Disable sending PING.
|
| + SpdySession::set_enable_ping_based_connection_checking(false);
|
| + }
|
| +
|
| + virtual void TearDown() OVERRIDE {
|
| + // Enable sending PING.
|
| + SpdySession::set_enable_ping_based_connection_checking(true);
|
| + }
|
| +
|
| void AddAuthToCache() {
|
| const string16 kFoo(ASCIIToUTF16("foo"));
|
| const string16 kBar(ASCIIToUTF16("bar"));
|
|
|