diff options
Diffstat (limited to 'net/base/test_completion_callback.h')
-rw-r--r-- | net/base/test_completion_callback.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/test_completion_callback.h b/net/base/test_completion_callback.h index 82680aa..65fec62 100644 --- a/net/base/test_completion_callback.h +++ b/net/base/test_completion_callback.h @@ -40,6 +40,7 @@ class TestCompletionCallback : public CallbackRunner< Tuple1<int> > { bool have_result() const { return have_result_; } + private: virtual void RunWithParams(const Tuple1<int>& params) { result_ = params.a; have_result_ = true; @@ -47,7 +48,6 @@ class TestCompletionCallback : public CallbackRunner< Tuple1<int> > { MessageLoop::current()->Quit(); } - private: int result_; bool have_result_; bool waiting_for_result_; |