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

Unified Diff: chrome/browser/net/network_stats_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 | « chrome/browser/net/load_timing_observer_uitest.cc ('k') | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/network_stats_unittest.cc
diff --git a/chrome/browser/net/network_stats_unittest.cc b/chrome/browser/net/network_stats_unittest.cc
index 0d5dd26518c011fdb0dac505c5f3345956093094..7a683dabe6465ac080e071993cc3f81722229992 100644
--- a/chrome/browser/net/network_stats_unittest.cc
+++ b/chrome/browser/net/network_stats_unittest.cc
@@ -29,6 +29,7 @@ class NetworkStatsTestUDP : public NetworkStatsTest {
public:
NetworkStatsTestUDP()
: test_server_(net::TestServer::TYPE_UDP_ECHO,
+ net::TestServer::kLocalhost,
FilePath(FILE_PATH_LITERAL("net/data"))) {
}
@@ -56,6 +57,7 @@ class NetworkStatsTestTCP : public NetworkStatsTest {
public:
NetworkStatsTestTCP()
: test_server_(net::TestServer::TYPE_TCP_ECHO,
+ net::TestServer::kLocalhost,
FilePath(FILE_PATH_LITERAL("net/data"))) {
}
« no previous file with comments | « chrome/browser/net/load_timing_observer_uitest.cc ('k') | content/common/net/url_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698