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

Unified Diff: net/test/local_test_server.h

Issue 10986042: Fix the failed cases in URLFetcherFileTest on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move GetDocumentRoot to test server Created 8 years, 2 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/local_test_server.h
diff --git a/net/test/local_test_server.h b/net/test/local_test_server.h
index 26636687ccc34718344caa5f58d4d5ba231e7d2a..c7e029daf8768aceb79766ce7f231180fd901ec9 100644
--- a/net/test/local_test_server.h
+++ b/net/test/local_test_server.h
@@ -53,6 +53,8 @@ class LocalTestServer : public BaseTestServer {
// |command_line|. Returns true on success.
virtual bool AddCommandLineArguments(CommandLine* command_line) const;
+ FilePath GetDocumentRoot() const { return document_root(); };
wtc 2012/10/23 18:28:31 Please document this function.
Shouqun Liu 2012/10/24 02:32:47 Done.
+
private:
bool Init(const FilePath& document_root);

Powered by Google App Engine
This is Rietveld 408576698