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

Unified Diff: net/test/local_test_server.h

Issue 9545019: Add "run_testserver --sync-test" for easy chromiumsync_test.py launching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert a few files Created 8 years, 9 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 | « no previous file | net/test/local_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/local_test_server.h
diff --git a/net/test/local_test_server.h b/net/test/local_test_server.h
index 48c218688d8c031020c95fd9d9b26389a4afee67..90ba16074975d99bb129f861f4a265c50925b663 100644
--- a/net/test/local_test_server.h
+++ b/net/test/local_test_server.h
@@ -42,12 +42,16 @@ class LocalTestServer : public BaseTestServer {
// Stop the server started by Start().
bool Stop();
+ // Modify PYTHONPATH to contain libraries we need.
+ static bool SetPythonPath() WARN_UNUSED_RESULT;
+
+ // Returns true if successfully stored the FilePath for the directory of the
+ // testserver python script in |*directory|.
+ static bool GetTestServerDirectory(FilePath* directory) WARN_UNUSED_RESULT;
+
private:
bool Init(const FilePath& document_root);
- // Modify PYTHONPATH to contain libraries we need.
- bool SetPythonPath() const WARN_UNUSED_RESULT;
-
// Launches the Python test server. Returns true on success.
bool LaunchPython(const FilePath& testserver_path) WARN_UNUSED_RESULT;
@@ -84,4 +88,3 @@ class LocalTestServer : public BaseTestServer {
} // namespace net
#endif // NET_TEST_LOCAL_TEST_SERVER_H_
-
« no previous file with comments | « no previous file | net/test/local_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698