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

Unified Diff: net/test/local_test_server.h

Issue 12210088: Make the TestServer use an absolute document root path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testserver uses absolute docroot path Created 7 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
Index: net/test/local_test_server.h
diff --git a/net/test/local_test_server.h b/net/test/local_test_server.h
index fcc7ebf5135ad0265dcedbf784f917a0644434d5..3474e1e433444bb714e03d08a26b742a60364d98 100644
--- a/net/test/local_test_server.h
+++ b/net/test/local_test_server.h
@@ -24,13 +24,13 @@ namespace net {
class LocalTestServer : public BaseTestServer {
public:
// Initialize a TestServer listening on a specific host (IP or hostname).
- // |document_root| must be a relative path under the root tree.
+ // |document_root| must be an absolute path.
LocalTestServer(Type type,
const std::string& host,
const base::FilePath& document_root);
// Initialize a TestServer with a specific set of SSLOptions.
- // |document_root| must be a relative path under the root tree.
+ // |document_root| must be an absolute path.
LocalTestServer(Type type,
const SSLOptions& ssl_options,
const base::FilePath& document_root);

Powered by Google App Engine
This is Rietveld 408576698