| Index: chrome/browser/net/url_fetcher_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/net/url_fetcher_unittest.cc (revision 9822)
|
| +++ chrome/browser/net/url_fetcher_unittest.cc (working copy)
|
| @@ -104,10 +104,6 @@
|
| const ResponseCookies& cookies,
|
| const std::string& data);
|
|
|
| - protected:
|
| - FilePath GetExpiredCertPath();
|
| - SSLTestUtil util_;
|
| -
|
| private:
|
| FilePath cert_dir_;
|
| };
|
| @@ -299,10 +295,6 @@
|
| io_loop_.Quit();
|
| }
|
|
|
| -FilePath URLFetcherBadHTTPSTest::GetExpiredCertPath() {
|
| - return cert_dir_.AppendASCII("expired_cert.pem");
|
| -}
|
| -
|
| void URLFetcherCancelTest::CreateFetcher(const GURL& url) {
|
| fetcher_ = new URLFetcher(url, URLFetcher::GET, this);
|
| fetcher_->set_request_context(
|
| @@ -435,8 +427,7 @@
|
| TEST_F(URLFetcherBadHTTPSTest, DISABLED_BadHTTPSTest) {
|
| #endif
|
| scoped_refptr<HTTPSTestServer> server =
|
| - HTTPSTestServer::CreateServer(util_.kHostName, util_.kBadHTTPSPort,
|
| - kDocRoot, util_.GetExpiredCertPath().ToWStringHack());
|
| + HTTPSTestServer::CreateExpiredServer(kDocRoot);
|
| ASSERT_TRUE(NULL != server.get());
|
|
|
| CreateFetcher(GURL(server->TestServerPage("defaultresponse")));
|
|
|