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

Unified Diff: net/test/base_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/base_test_server.h
diff --git a/net/test/base_test_server.h b/net/test/base_test_server.h
index de4fe1d64ec3a0125e776c0029e89bfd31490303..25f65f893675fe46cf5bf888a7762a2ee1dec8fe 100644
--- a/net/test/base_test_server.h
+++ b/net/test/base_test_server.h
@@ -172,6 +172,10 @@ class BaseTestServer {
const std::string& user,
const std::string& password) const;
+ static base::FilePath GetSourcePath();
Paweł Hajdan Jr. 2013/02/11 15:36:53 nit: These need comments.
+ static base::FilePath GetTestDataPath();
+ static base::FilePath GetSourceRelativePath(const base::FilePath& relative);
+
static bool GetFilePathWithReplacements(
const std::string& original_path,
const std::vector<StringPair>& text_to_replace,

Powered by Google App Engine
This is Rietveld 408576698