Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2064)

Unified Diff: chrome/browser/net/connection_tester_unittest.cc

Issue 9430050: Remove usage of a deprecated TestServer constructor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disentangle test refactoring from TestServer refactoring. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/net/ftp_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/connection_tester_unittest.cc
diff --git a/chrome/browser/net/connection_tester_unittest.cc b/chrome/browser/net/connection_tester_unittest.cc
index 327bd654b78d219ff08ec1373bf276648b278558..9f699bde9fe31670b3b437bbc6478b100f48b7bf 100644
--- a/chrome/browser/net/connection_tester_unittest.cc
+++ b/chrome/browser/net/connection_tester_unittest.cc
@@ -90,7 +90,9 @@ class ConnectionTesterTest : public PlatformTest {
: message_loop_(MessageLoop::TYPE_IO),
io_thread_(BrowserThread::IO, &message_loop_),
test_server_(net::TestServer::TYPE_HTTP,
- FilePath(FILE_PATH_LITERAL("net/data/url_request_unittest"))),
+ net::TestServer::kLocalhost,
+ FilePath(
+ FILE_PATH_LITERAL("net/data/url_request_unittest"))),
proxy_script_fetcher_context_(new net::URLRequestContext) {
InitializeRequestContext();
}
« no previous file with comments | « no previous file | chrome/browser/net/ftp_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698