Chromium Code Reviews| Index: net/test/base_test_server.h |
| diff --git a/net/test/base_test_server.h b/net/test/base_test_server.h |
| index f7d5654baf223876937741b1ff486e66f1d8a8c3..e31747b3886c29d6a22eb6a158e576d264de35e7 100644 |
| --- a/net/test/base_test_server.h |
| +++ b/net/test/base_test_server.h |
| @@ -182,7 +182,7 @@ class BaseTestServer { |
| bool SetupWhenServerStarted() WARN_UNUSED_RESULT; |
| // Clean up internal status when starting to stop server. |
| - void CleanUpWhenStoppingServer(); |
| + virtual void CleanUpWhenStoppingServer(); |
|
Paweł Hajdan Jr.
2012/05/23 06:53:02
Please find a way to avoid making this virtual. On
Raghu Simha
2012/05/23 19:54:28
Done.
The sync server is only started once in ev
|
| // Set path of test resources. |
| void SetResourcePath(const FilePath& document_root, |
| @@ -194,7 +194,7 @@ class BaseTestServer { |
| // Generates a DictionaryValue with the arguments for launching the external |
| // Python test server. |
| - bool GenerateArguments(base::DictionaryValue* arguments) const; |
| + virtual bool GenerateArguments(base::DictionaryValue* arguments) const; |
|
Paweł Hajdan Jr.
2012/05/23 06:53:02
Do not override this. See how LocalTestServer hand
Raghu Simha
2012/05/23 19:54:28
Done.
There are two sets of arguments being strun
|
| private: |
| void Init(const std::string& host); |