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

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

Issue 10332130: Use defer out-params instead of ResourceDispatcherHostImpl::PauseRequest(...true) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/doomed_resource_handler.h
===================================================================
--- content/browser/renderer_host/doomed_resource_handler.h (revision 137742)
+++ content/browser/renderer_host/doomed_resource_handler.h (working copy)
@@ -29,7 +29,8 @@
content::ResourceResponse* response,
bool* defer) OVERRIDE;
virtual bool OnResponseStarted(int request_id,
- content::ResourceResponse* response) OVERRIDE;
+ content::ResourceResponse* response,
+ bool* defer) OVERRIDE;
virtual bool OnWillStart(int request_id,
const GURL& url,
bool* defer) OVERRIDE;
@@ -38,7 +39,8 @@
int* buf_size,
int min_size) OVERRIDE;
virtual bool OnReadCompleted(int request_id,
- int* bytes_read) OVERRIDE;
+ int* bytes_read,
+ bool* defer) OVERRIDE;
virtual bool OnResponseCompleted(int request_id,
const net::URLRequestStatus& status,
const std::string& security_info) OVERRIDE;
« no previous file with comments | « content/browser/renderer_host/cross_site_resource_handler.cc ('k') | content/browser/renderer_host/doomed_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698