summaryrefslogtreecommitdiffstats
path: root/net/base/test_completion_callback.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 06:43:04 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-18 06:43:04 +0000
commit9879138312e4ed9f07dc53dca327569667069e73 (patch)
tree77d4afb5cdf157253895f5d290d177593f67edf4 /net/base/test_completion_callback.h
parentd5ef0219e7ba30b90952aeef5790bc245553d0fb (diff)
downloadchromium_src-9879138312e4ed9f07dc53dca327569667069e73.zip
chromium_src-9879138312e4ed9f07dc53dca327569667069e73.tar.gz
chromium_src-9879138312e4ed9f07dc53dca327569667069e73.tar.bz2
Revert "Revert "Revert "Add connected socket function to ClientSocketPool and ClientSocketHandle."""
Revert "Fix a memory leak in client_socket_pool_unittest.cc." Guess I still fail. kasperl pointed out that this managed to break layout tests and some reliability tests too. Review URL: http://codereview.chromium.org/113517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/test_completion_callback.h')
-rw-r--r--net/base/test_completion_callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/test_completion_callback.h b/net/base/test_completion_callback.h
index a5d1145..3494646 100644
--- a/net/base/test_completion_callback.h
+++ b/net/base/test_completion_callback.h
@@ -38,6 +38,7 @@ class TestCompletionCallback : public CallbackRunner< Tuple1<int> > {
return result_;
}
+ private:
virtual void RunWithParams(const Tuple1<int>& params) {
result_ = params.a;
have_result_ = true;
@@ -45,7 +46,6 @@ class TestCompletionCallback : public CallbackRunner< Tuple1<int> > {
MessageLoop::current()->Quit();
}
- private:
int result_;
bool have_result_;
bool waiting_for_result_;