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

Unified Diff: net/socket/socket_test_util.h

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 7cc6f841b795b7d51da86ec114346d443c62c6ff..fc5a436cb4e6a48920c5cdc9c6e2a310fc7971a0 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -683,12 +683,8 @@ class TestSocketRequest : public CallbackRunner< Tuple1<int> > {
public:
TestSocketRequest(
std::vector<TestSocketRequest*>* 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_; }

Powered by Google App Engine
This is Rietveld 408576698