Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1672)

Unified Diff: content/browser/download/download_create_info.h

Issue 10074001: Initial implementation of the ByteStream refactor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Checkpoint and merge to LKGR. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_create_info.h
diff --git a/content/browser/download/download_create_info.h b/content/browser/download/download_create_info.h
index 3fb630540624636ef9e3a77c13041e4c98c98fe7..cfb5c88eb9e99e1ebce5222e94956d95d8d01ae2 100644
--- a/content/browser/download/download_create_info.h
+++ b/content/browser/download/download_create_info.h
@@ -20,6 +20,10 @@
#include "googleurl/src/gurl.h"
#include "net/base/net_log.h"
+namespace content {
+class ByteStream;
+}
+
// Used for informing the download manager of a new download, since we don't
// want to pass |DownloadItem|s between threads.
struct CONTENT_EXPORT DownloadCreateInfo {
@@ -104,6 +108,9 @@ struct CONTENT_EXPORT DownloadCreateInfo {
// UrlRequest::GetSocketAddress().
std::string remote_address;
+ // Pipe through which we will send data downstream.
+ scoped_refptr<content::ByteStream> pipe;
+
// The request's |BoundNetLog|, for "source_dependency" linking with the
// download item's.
const net::BoundNetLog request_bound_net_log;
« no previous file with comments | « content/browser/download/download_buffer_unittest.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698