From 20f0487a5b73e8071af2612150301b0942cbf0e2 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Thu, 30 Sep 2010 20:06:30 +0000 Subject: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. Cuts ~2MB off our .a files (Debug, Linux). Also added the "virtual" keyword on a whole bunch of virtual dtors that were missing it. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3522004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61100 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/socket_test_util.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'net/socket/socket_test_util.h') diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h index 7f83a70..c76dfae 100644 --- a/net/socket/socket_test_util.h +++ b/net/socket/socket_test_util.h @@ -683,12 +683,8 @@ class TestSocketRequest : public CallbackRunner< Tuple1 > { public: TestSocketRequest( std::vector* request_order, - size_t* completion_count) - : request_order_(request_order), - completion_count_(completion_count) { - DCHECK(request_order); - DCHECK(completion_count); - } + size_t* completion_count); + virtual ~TestSocketRequest(); ClientSocketHandle* handle() { return &handle_; } -- cgit v1.1