Index: net/test/local_test_server.h |
diff --git a/net/test/local_test_server.h b/net/test/local_test_server.h |
index 26636687ccc34718344caa5f58d4d5ba231e7d2a..d8d070eb9c2675715a506bbed142a5fdbc1730e8 100644 |
--- a/net/test/local_test_server.h |
+++ b/net/test/local_test_server.h |
@@ -53,6 +53,10 @@ class LocalTestServer : public BaseTestServer { |
// |command_line|. Returns true on success. |
virtual bool AddCommandLineArguments(CommandLine* command_line) const; |
+ // Returns the actual path of document root for test cases. This function |
+ // should be called by test cases to retrieve the actual document root path. |
+ FilePath GetDocumentRoot() const { return document_root(); }; |
+ |
private: |
bool Init(const FilePath& document_root); |