| Index: content/browser/download/download_resource_handler.h
|
| diff --git a/content/browser/download/download_resource_handler.h b/content/browser/download/download_resource_handler.h
|
| index 866bffb6a9f1f05bb866afd3faec745f9a4c3e17..802f5286260659bd25600ead4cc348f7f796e68f 100644
|
| --- a/content/browser/download/download_resource_handler.h
|
| +++ b/content/browser/download/download_resource_handler.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/timer/timer.h"
|
| #include "content/browser/loader/resource_handler.h"
|
| +#include "content/public/browser/download_interrupt_reasons.h"
|
| #include "content/public/browser/download_manager.h"
|
| #include "content/public/browser/download_save_info.h"
|
| #include "content/public/browser/download_url_parameters.h"
|
| @@ -23,8 +24,8 @@ class URLRequest;
|
| } // namespace net
|
|
|
| namespace content {
|
| +template <typename StatusType>
|
| class ByteStreamWriter;
|
| -class ByteStreamReader;
|
| class DownloadRequestHandle;
|
| struct DownloadCreateInfo;
|
|
|
| @@ -116,7 +117,8 @@ class CONTENT_EXPORT DownloadResourceHandler
|
|
|
| // Data flow
|
| scoped_refptr<net::IOBuffer> read_buffer_; // From URLRequest.
|
| - scoped_ptr<ByteStreamWriter> stream_writer_; // To rest of system.
|
| + scoped_ptr<ByteStreamWriter<DownloadInterruptReason> >
|
| + stream_writer_; // To rest of system.
|
|
|
| // The following are used to collect stats.
|
| base::TimeTicks download_start_time_;
|
|
|