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

Unified Diff: net/socket/socket_test_util.cc

Issue 10690104: DeterministicSocketDataProvider should not be RefCounted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more leak fix Created 8 years, 5 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 | « net/socket/socket_test_util.h ('k') | net/spdy/spdy_http_stream_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 92783fd5aad1236b635fbd027858ab3a9a621a35..d51d5c65388ee5d2f63d76f88b191d9fe1c8b78a 100644
--- a/net/socket/socket_test_util.cc
+++ b/net/socket/socket_test_util.cc
@@ -452,6 +452,8 @@ DeterministicSocketData::DeterministicSocketData(MockRead* reads,
print_debug_(false) {
}
+DeterministicSocketData::~DeterministicSocketData() {}
+
void DeterministicSocketData::Run() {
SetStopped(false);
int counter = 0;
@@ -578,8 +580,6 @@ void DeterministicSocketData::Reset() {
NOTREACHED();
}
-DeterministicSocketData::~DeterministicSocketData() {}
-
void DeterministicSocketData::InvokeCallbacks() {
if (socket_ && socket_->write_pending() &&
(current_write().sequence_number == sequence_number())) {
« no previous file with comments | « net/socket/socket_test_util.h ('k') | net/spdy/spdy_http_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698