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

Unified Diff: chrome/browser/net/connection_tester_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: 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 b6becad17a25785a061f943801598569d7e1690f..895d6d33e75cd00f0eee1e19e40e1f1f89af825f 100644
--- a/chrome/browser/net/connection_tester_unittest.cc
+++ b/chrome/browser/net/connection_tester_unittest.cc
@@ -92,7 +92,8 @@ class ConnectionTesterTest : public PlatformTest {
test_server_(net::TestServer::TYPE_HTTP,
net::TestServer::kLocalhost,
// Nothing is read in this directory.
- base::FilePath(FILE_PATH_LITERAL("chrome"))),
+ net::TestServer::GetSourceRelativePath(
+ base::FilePath(FILE_PATH_LITERAL("chrome")))),
proxy_script_fetcher_context_(new net::URLRequestContext) {
InitializeRequestContext();
}

Powered by Google App Engine
This is Rietveld 408576698