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

Unified Diff: sync/test/local_sync_test_server.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: sync/test/local_sync_test_server.cc
diff --git a/sync/test/local_sync_test_server.cc b/sync/test/local_sync_test_server.cc
index a11234f340d0dfd1a87e55b7a124d8efe592809c..f8395b1a3ec56b370664dd2cc8ee68c63d5dae03 100644
--- a/sync/test/local_sync_test_server.cc
+++ b/sync/test/local_sync_test_server.cc
@@ -16,13 +16,13 @@ namespace syncer {
LocalSyncTestServer::LocalSyncTestServer()
: LocalTestServer(net::TestServer::TYPE_HTTP, // Sync uses the HTTP scheme.
net::TestServer::kLocalhost,
- base::FilePath()),
+ GetSourcePath()),
xmpp_port_(0) {}
LocalSyncTestServer::LocalSyncTestServer(uint16 port, uint16 xmpp_port)
: LocalTestServer(net::TestServer::TYPE_HTTP, // Sync uses the HTTP scheme.
net::TestServer::kLocalhost,
- base::FilePath()),
+ GetSourcePath()),
xmpp_port_(xmpp_port) {
SetPort(port);
}

Powered by Google App Engine
This is Rietveld 408576698