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

Unified Diff: net/url_request/url_request_context_builder_unittest.cc

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/url_request/url_request_context_builder_unittest.cc
diff --git a/net/url_request/url_request_context_builder_unittest.cc b/net/url_request/url_request_context_builder_unittest.cc
index af53c8797e409a1f4a3bc5fe4e90c0f2959ad96f..0b3ee79876bb68b74fb45b3fefdaa0a6e1e847fc 100644
--- a/net/url_request/url_request_context_builder_unittest.cc
+++ b/net/url_request/url_request_context_builder_unittest.cc
@@ -28,11 +28,7 @@ class LocalHttpTestServer : public TestServer {
explicit LocalHttpTestServer(const base::FilePath& document_root)
: TestServer(TestServer::TYPE_HTTP,
ScopedCustomUrlRequestTestHttpHost::value(),
- document_root) {}
- LocalHttpTestServer()
- : TestServer(TestServer::TYPE_HTTP,
- ScopedCustomUrlRequestTestHttpHost::value(),
- base::FilePath()) {}
+ GetSourceRelativePath(document_root)) {}
};
class URLRequestContextBuilderTest : public PlatformTest {

Powered by Google App Engine
This is Rietveld 408576698