summaryrefslogtreecommitdiffstats
path: root/net/test/remote_test_server.h
diff options
context:
space:
mode:
authorjnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 08:39:24 +0000
committerjnd@chromium.org <jnd@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 08:39:24 +0000
commitebb7c1fd09da624d9cd44570ff8086e5051b1811 (patch)
tree739afd7f850ebe5de23d70604837aba995d9a2ef /net/test/remote_test_server.h
parent01b84957e5958c9acc60d0b26a9ba956e41cfb96 (diff)
downloadchromium_src-ebb7c1fd09da624d9cd44570ff8086e5051b1811.zip
chromium_src-ebb7c1fd09da624d9cd44570ff8086e5051b1811.tar.gz
chromium_src-ebb7c1fd09da624d9cd44570ff8086e5051b1811.tar.bz2
Make the SpawnerCommunicator destructor virtual since it inherits from net::URLRequest::Delegate
Also make BaseTestServer's dtor virtual protected to prevent the BaseTestServer pointer being directly deleted. BUG=None TEST=net_unittests should pass. Review URL: https://chromiumcodereview.appspot.com/9704008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126865 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test/remote_test_server.h')
-rw-r--r--net/test/remote_test_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/test/remote_test_server.h b/net/test/remote_test_server.h
index 1f375cb..737b733 100644
--- a/net/test/remote_test_server.h
+++ b/net/test/remote_test_server.h
@@ -29,7 +29,7 @@ class RemoteTestServer : public BaseTestServer {
RemoteTestServer(const HTTPSOptions& https_options,
const FilePath& document_root);
- ~RemoteTestServer();
+ virtual ~RemoteTestServer();
// Starts the Python test server on the host, instead of on the device.
bool Start() WARN_UNUSED_RESULT;