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

Unified Diff: content/browser/renderer_host/redirect_to_file_resource_handler.h

Issue 10501004: Refactor the guts of ResourceDispatcherHostImpl into a new class named (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/renderer_host/redirect_to_file_resource_handler.h
===================================================================
--- content/browser/renderer_host/redirect_to_file_resource_handler.h (revision 141889)
+++ content/browser/renderer_host/redirect_to_file_resource_handler.h (working copy)
@@ -60,6 +60,7 @@
void DidWriteToFile(int result);
bool WriteMore();
bool BufIsFull() const;
+ void ResumeIfDeferred();
base::WeakPtrFactory<RedirectToFileResourceHandler> weak_factory_;
@@ -85,8 +86,7 @@
// file created as a result of the download.
scoped_refptr<webkit_blob::ShareableFileReference> deletable_file_;
- // True if OnRequestClosed() has already been called.
- bool request_was_closed_;
+ bool did_defer_ ;
bool completed_during_write_;
net::URLRequestStatus completed_status_;

Powered by Google App Engine
This is Rietveld 408576698