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

Unified Diff: net/test/base_test_server.h

Issue 9704008: Make the SpawnerCommunicator destructor virtual since it inherits from net::URLRequest::Delegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: make BaseTestServer's dtor virtual per chat w/ Ryan 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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/base_test_server.h
===================================================================
--- net/test/base_test_server.h (revision 126537)
+++ net/test/base_test_server.h (working copy)
@@ -119,8 +119,6 @@
// Initialize a HTTPS TestServer with a specific set of HTTPSOptions.
explicit BaseTestServer(const HTTPSOptions& https_options);
- ~BaseTestServer();
-
// Returns the host port pair used by current Python based test server only
// if the server is started.
const HostPortPair& host_port_pair() const;
@@ -145,6 +143,7 @@
std::string* replacement_path);
protected:
+ virtual ~BaseTestServer();
Type type() const { return type_; }
// Gets port currently assigned to host_port_pair_ without checking
« no previous file with comments | « no previous file | net/test/local_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698