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

Unified Diff: net/test/remote_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: refine the patch with nits fixed 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
« no previous file with comments | « net/test/local_test_server.h ('k') | net/test/remote_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/remote_test_server.h
diff --git a/net/test/remote_test_server.h b/net/test/remote_test_server.h
index 417eda8bad69903cdef5f012de1bc93c048f677f..82ac4713a4f25c6b3e830edb55033940fdfead33 100644
--- a/net/test/remote_test_server.h
+++ b/net/test/remote_test_server.h
@@ -37,6 +37,12 @@ class RemoteTestServer : public BaseTestServer {
// Stops the Python test server that is running on the host machine.
bool Stop();
+ // Returns the actual path of document root for the test cases. This function
+ // should be called by test cases to retrieve the actual document root path
+ // on the Android device, otherwise document_root() function is used to get
+ // the document root.
+ FilePath GetDocumentRoot() const;
+
private:
bool Init(const FilePath& document_root);
« no previous file with comments | « net/test/local_test_server.h ('k') | net/test/remote_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698