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

Unified Diff: net/test/base_test_server.h

Issue 10388206: [sync] Add --port and --xmpp-port parameters to run_testserver.cc (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits Created 8 years, 7 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
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);

Powered by Google App Engine
This is Rietveld 408576698