Index: content/browser/loader/throttling_resource_handler.h |
diff --git a/content/browser/loader/throttling_resource_handler.h b/content/browser/loader/throttling_resource_handler.h |
index 9f98921e26fe55a7932e455bc1fb728f788edc28..9de69512165d93a18e1fcfc2980ad2a3b5a5383e 100644 |
--- a/content/browser/loader/throttling_resource_handler.h |
+++ b/content/browser/loader/throttling_resource_handler.h |
@@ -39,6 +39,9 @@ class ThrottlingResourceHandler : public LayeredResourceHandler, |
bool* defer) OVERRIDE; |
virtual bool OnWillStart(int request_id, const GURL& url, |
bool* defer) OVERRIDE; |
+ virtual bool OnBeforeNetworkStart(int request_id, |
+ const GURL& url, |
+ bool* defer) OVERRIDE; |
// ResourceController implementation: |
virtual void Cancel() OVERRIDE; |
@@ -48,6 +51,7 @@ class ThrottlingResourceHandler : public LayeredResourceHandler, |
private: |
void ResumeStart(); |
+ void ResumeNetworkStart(); |
void ResumeRedirect(); |
void ResumeResponse(); |
@@ -58,6 +62,7 @@ class ThrottlingResourceHandler : public LayeredResourceHandler, |
enum DeferredStage { |
DEFERRED_NONE, |
DEFERRED_START, |
+ DEFERRED_NETWORK_START, |
DEFERRED_REDIRECT, |
DEFERRED_RESPONSE |
}; |