diff options
Diffstat (limited to 'net/test/local_test_server.h')
-rw-r--r-- | net/test/local_test_server.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/net/test/local_test_server.h b/net/test/local_test_server.h index 3c6bdde..d8d070e 100644 --- a/net/test/local_test_server.h +++ b/net/test/local_test_server.h @@ -43,26 +43,15 @@ class LocalTestServer : public BaseTestServer { bool Stop(); // Modify PYTHONPATH to contain libraries we need. - virtual bool SetPythonPath() const WARN_UNUSED_RESULT; - - // This is a static version so that RunSyncTest in run_testserver.cc can use - // it. - // TODO(mattm): We should refactor so this isn't necessary (crbug.com/159731). - static bool SetPythonPathStatic() WARN_UNUSED_RESULT; + 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; - // Returns true if successfully stored the FilePath for the testserver python - // script in |*testserver_path|. - virtual bool GetTestServerPath(FilePath* testserver_path) const - WARN_UNUSED_RESULT; - // Adds the command line arguments for the Python test server to // |command_line|. Returns true on success. - virtual bool AddCommandLineArguments(CommandLine* command_line) const - WARN_UNUSED_RESULT; + 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. |