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

Unified Diff: content/browser/loader/throttling_resource_handler.h

Issue 2271403002: Add CHECKs to investigate ResourceThrottle crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops Created 4 years, 4 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
« no previous file with comments | « no previous file | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 434151506ad250837132b7824b8bd5b704f7f59b..873aad0dd9c202cfc6783abcaaf856be22415c2d 100644
--- a/content/browser/loader/throttling_resource_handler.h
+++ b/content/browser/loader/throttling_resource_handler.h
@@ -71,6 +71,11 @@ class ThrottlingResourceHandler : public LayeredResourceHandler,
scoped_refptr<ResourceResponse> deferred_response_;
bool cancelled_by_resource_throttle_;
+
+ // True if currently calling into a throttle, false otherwise. False when
+ // waiting on a throttle that has delayed the request.
+ // TODO(mmenke): Remove once https://crbug.com/640545 is resolved.
+ bool currently_calling_throttle_;
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698