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

Unified Diff: net/test/test_server.h

Issue 9431002: Remove old TestServer constructor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. 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 | net/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server.h
diff --git a/net/test/test_server.h b/net/test/test_server.h
index e1310bc50391b9483b608bc309f60adb1c120602..6e5eb606bd51b2e011f42f982c6be92b31eb5beb 100644
--- a/net/test/test_server.h
+++ b/net/test/test_server.h
@@ -113,13 +113,8 @@ class TestServer {
// Pass as the 'host' parameter during construction to server on 127.0.0.1
static const char* kLocalhost;
- // Initialize a TestServer listening on 127.0.0.1.
- TestServer(Type type, const FilePath& document_root);
-
- // Initialize a TestServer listening on a specific host (IP or hostname).
- TestServer(Type type,
- const std::string& host,
- const FilePath& document_root);
+ // Initialize a TestServer listening on the specified host (IP or hostname).
+ TestServer(Type type, const std::string& host, const FilePath& document_root);
// Initialize a HTTPS TestServer with a specific set of HTTPSOptions.
TestServer(const HTTPSOptions& https_options,
« no previous file with comments | « no previous file | net/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698