| Index: net/test/test_server.cc
|
| diff --git a/net/test/test_server.cc b/net/test/test_server.cc
|
| index 4c698b0525fcdb40aa87820027fa1b7463e8443b..536d3517ea87c53e50c35b61f952a23fef8edebe 100644
|
| --- a/net/test/test_server.cc
|
| +++ b/net/test/test_server.cc
|
| @@ -27,7 +27,6 @@
|
| #include "net/base/host_resolver.h"
|
| #include "net/base/test_completion_callback.h"
|
| #include "net/socket/tcp_client_socket.h"
|
| -#include "net/socket/tcp_pinger.h"
|
| #include "net/test/python_utils.h"
|
| #include "testing/platform_test.h"
|
|
|
| @@ -256,22 +255,6 @@ bool TestServer::SetPythonPath() {
|
| return true;
|
| }
|
|
|
| -bool TestServer::WaitToStart() {
|
| - net::AddressList addr;
|
| - if (!GetAddressList(&addr))
|
| - return false;
|
| -
|
| - net::TCPPinger pinger(addr);
|
| - int rv = pinger.Ping(
|
| - base::TimeDelta::FromMilliseconds(kServerConnectionTimeoutMs),
|
| - kServerConnectionAttempts);
|
| - bool result = (rv == net::OK);
|
| - if (!result) {
|
| - LOG(ERROR) << "Failed to connect to server";
|
| - }
|
| - return result;
|
| -}
|
| -
|
| FilePath TestServer::GetRootCertificatePath() {
|
| return certificates_dir_.AppendASCII("root_ca_cert.crt");
|
| }
|
|
|