summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_test_job.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 00:44:48 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-30 00:44:48 +0000
commitb9c806bfefaab06556664ac78478a56af917fe0e (patch)
tree120d7a4c67b22122027b7ef1a6845085de3c69b5 /net/url_request/url_request_test_job.h
parent16e923d415597f97b567c5d3870ad4d489c3e31b (diff)
downloadchromium_src-b9c806bfefaab06556664ac78478a56af917fe0e.zip
chromium_src-b9c806bfefaab06556664ac78478a56af917fe0e.tar.gz
chromium_src-b9c806bfefaab06556664ac78478a56af917fe0e.tar.bz2
Stop refcounting URLRequestTestJob
BUG=none TEST=none Review URL: http://codereview.chromium.org/6883259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_test_job.h')
-rw-r--r--net/url_request/url_request_test_job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/url_request/url_request_test_job.h b/net/url_request/url_request_test_job.h
index 133565e..59296ab 100644
--- a/net/url_request/url_request_test_job.h
+++ b/net/url_request/url_request_test_job.h
@@ -8,6 +8,7 @@
#include <string>
+#include "base/task.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_job.h"
@@ -134,6 +135,8 @@ class URLRequestTestJob : public URLRequestJob {
// Holds the buffer for an asynchronous ReadRawData call
IOBuffer* async_buf_;
int async_buf_size_;
+
+ ScopedRunnableMethodFactory<URLRequestTestJob> method_factory_;
};
} // namespace net