diff options
author | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 23:05:59 +0000 |
---|---|---|
committer | huanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 23:05:59 +0000 |
commit | 3828a755146e0102b934281129fdd6425ca19a0f (patch) | |
tree | 636c50ef9cff86b68defe0e19acad8e5ebc33aa7 /net/base/test_completion_callback.h | |
parent | 41291b0e3555aa77d3501c02a75679b1d734d4ee (diff) | |
download | chromium_src-3828a755146e0102b934281129fdd6425ca19a0f.zip chromium_src-3828a755146e0102b934281129fdd6425ca19a0f.tar.gz chromium_src-3828a755146e0102b934281129fdd6425ca19a0f.tar.bz2 |
Avoiding IO completion callback during the closing
of FileStream.
BUG=8942
Review URL: http://codereview.chromium.org/112090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/test_completion_callback.h')
-rw-r--r-- | net/base/test_completion_callback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/test_completion_callback.h b/net/base/test_completion_callback.h index 3494646..65fec62 100644 --- a/net/base/test_completion_callback.h +++ b/net/base/test_completion_callback.h @@ -38,6 +38,8 @@ class TestCompletionCallback : public CallbackRunner< Tuple1<int> > { return result_; } + bool have_result() const { return have_result_; } + private: virtual void RunWithParams(const Tuple1<int>& params) { result_ = params.a; |