summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_file_job.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 20:15:38 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 20:15:38 +0000
commit83fdc3d23441c8b418ef3cdfc737d2cfa8dbff53 (patch)
treeed3ccc80a2aecfcbf7aa8b1fa972515e00d6a7cc /net/url_request/url_request_file_job.h
parent66e2687289aa4b5f1a1ce61c776a1ffc6497325e (diff)
downloadchromium_src-83fdc3d23441c8b418ef3cdfc737d2cfa8dbff53.zip
chromium_src-83fdc3d23441c8b418ef3cdfc737d2cfa8dbff53.tar.gz
chromium_src-83fdc3d23441c8b418ef3cdfc737d2cfa8dbff53.tar.bz2
Stop adding more refcounts to some more URLRequestJob subtypes.
Switch to using ScopedRunnableMethodFactory::NewRunnableMethod(). BUG=63692 TEST=existing Review URL: http://codereview.chromium.org/5532005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_file_job.h')
-rw-r--r--net/url_request/url_request_file_job.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/url_request/url_request_file_job.h b/net/url_request/url_request_file_job.h
index 0e7cf38..342deeb 100644
--- a/net/url_request/url_request_file_job.h
+++ b/net/url_request/url_request_file_job.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/file_path.h"
+#include "base/task.h"
#include "net/base/completion_callback.h"
#include "net/base/file_stream.h"
#include "net/http/http_byte_range.h"
@@ -63,6 +64,8 @@ class URLRequestFileJob : public URLRequestJob {
scoped_refptr<AsyncResolver> async_resolver_;
#endif
+ ScopedRunnableMethodFactory<URLRequestFileJob> method_factory_;
+
DISALLOW_COPY_AND_ASSIGN(URLRequestFileJob);
};