| Index: net/test/test_server.h
|
| diff --git a/net/test/test_server.h b/net/test/test_server.h
|
| index 6e5eb606bd51b2e011f42f982c6be92b31eb5beb..2a434e802c23436c4f22286cab2bbcb8c5ef3014 100644
|
| --- a/net/test/test_server.h
|
| +++ b/net/test/test_server.h
|
| @@ -147,11 +147,20 @@ class TestServer {
|
| const std::vector<StringPair>& text_to_replace,
|
| std::string* replacement_path);
|
|
|
| + // Launches the chromiumsync_test script, testing the --sync functionality.
|
| + static bool RunSyncTest();
|
| +
|
| + // Return the absolute path to the python executable for the platform.
|
| + static FilePath GetAbsolutePythonCommandPath();
|
| +
|
| private:
|
| void Init(const std::string& host, const FilePath& document_root);
|
|
|
| // Modify PYTHONPATH to contain libraries we need.
|
| - bool SetPythonPath() WARN_UNUSED_RESULT;
|
| + static bool SetPythonPath() WARN_UNUSED_RESULT;
|
| +
|
| + // Return the path containing testserver python script.
|
| + static FilePath GetTestServerDirectory();
|
|
|
| // Launches the Python test server. Returns true on success.
|
| bool LaunchPython(const FilePath& testserver_path) WARN_UNUSED_RESULT;
|
|
|