Index: content/browser/download/download_file_impl.h |
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h |
index b66174efd755b12b5683252b02722db796ca1079..91cd60ae117e768cb30ca0a35c46ad7db4686b50 100644 |
--- a/content/browser/download/download_file_impl.h |
+++ b/content/browser/download/download_file_impl.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "content/browser/download/base_file.h" |
+#include "content/browser/download/byte_stream.h" |
#include "content/browser/download/download_request_handle.h" |
struct DownloadCreateInfo; |
@@ -51,9 +52,16 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile { |
virtual std::string DebugString() const OVERRIDE; |
private: |
+ void PipeActive(); |
ahendrickson
2012/04/16 15:14:27
I was not clear as to what this function does. Ne
Randy Smith (Not in Mondays)
2012/04/18 19:10:38
Added comment; let me know if you still think I ne
|
+ |
// The base file instance. |
BaseFile file_; |
+ // The pipe through which data comes. |
+ // TODO(rdsmith): Move this into BaseFile; requires using the same |
+ // pipe semantics in SavePackage. |
+ scoped_refptr<content::ByteStream> input_pipe_; |
+ |
// The unique identifier for this download, assigned at creation by |
// the DownloadFileManager for its internal record keeping. |
content::DownloadId id_; |