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

Unified Diff: trunk/src/content/browser/download/download_resource_handler.h

Issue 26472004: Revert 227318 "Clean up ResourceHandler API." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | trunk/src/content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/download/download_resource_handler.h
===================================================================
--- trunk/src/content/browser/download/download_resource_handler.h (revision 227593)
+++ trunk/src/content/browser/download/download_resource_handler.h (working copy)
@@ -67,7 +67,7 @@
// Create a new buffer, which will be handed to the download thread for file
// writing and deletion.
virtual bool OnWillRead(int request_id,
- scoped_refptr<net::IOBuffer>* buf,
+ net::IOBuffer** buf,
int* buf_size,
int min_size) OVERRIDE;
@@ -105,6 +105,7 @@
uint32 download_id_;
std::string content_disposition_;
int64 content_length_;
+ net::URLRequest* request_;
// This is read only on the IO thread, but may only
// be called on the UI thread.
DownloadUrlParameters::OnStartedCallback started_cb_;
« no previous file with comments | « no previous file | trunk/src/content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698