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

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

Issue 10578055: Rewrite guts of ResourceLoader and BufferedResourceHandler to suck less. (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/async_resource_handler.h
===================================================================
--- content/browser/renderer_host/async_resource_handler.h (revision 144275)
+++ content/browser/renderer_host/async_resource_handler.h (working copy)
@@ -54,7 +54,7 @@
int* buf_size,
int min_size) OVERRIDE;
virtual bool OnReadCompleted(int request_id,
- int* bytes_read,
+ int bytes_read,
bool* defer) OVERRIDE;
virtual bool OnResponseCompleted(int request_id,
const net::URLRequestStatus& status,
@@ -68,7 +68,7 @@
// Returns true if it's ok to send the data. If there are already too many
// data messages pending, it defers the request and returns false. In this
// case the caller should not send the data.
- bool WillSendData(bool* defer);
+ void WillSendData(bool* defer);
void ResumeIfDeferred();
« no previous file with comments | « content/browser/download/save_file_resource_handler.cc ('k') | content/browser/renderer_host/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698