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

Unified Diff: net/url_request/url_request_job.h

Issue 10736066: Adding histograms showing fraction of page load times (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: net/url_request/url_request_job.h
===================================================================
--- net/url_request/url_request_job.h (revision 145862)
+++ net/url_request/url_request_job.h (working copy)
@@ -287,6 +287,9 @@
// Set the status of the job.
void SetStatus(const URLRequestStatus& status);
+ // Custom handler for derived classes when the request is detached.
+ virtual void OnDetachRequest() { }
+
// The number of bytes read before passing to the filter.
int prefilter_bytes_read() const { return prefilter_bytes_read_; }

Powered by Google App Engine
This is Rietveld 408576698