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

Unified Diff: net/base/layered_network_delegate.cc

Issue 1337113004: CHECK that URLRequestJobs are not orphaned while blocked by extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 3 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 | « net/base/layered_network_delegate.h ('k') | net/base/network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/layered_network_delegate.cc
diff --git a/net/base/layered_network_delegate.cc b/net/base/layered_network_delegate.cc
index 58254aea952f96960ebb1898158d76e67fcfa644..f84b468732ded7a6aef5360181e821ba3fdb9ce3 100644
--- a/net/base/layered_network_delegate.cc
+++ b/net/base/layered_network_delegate.cc
@@ -166,6 +166,12 @@ void LayeredNetworkDelegate::OnURLRequestDestroyedInternal(
URLRequest* request) {
}
+void LayeredNetworkDelegate::OnURLRequestJobOrphaned(URLRequest* request) {
+ // This hook is only added to debug https://crbug.com/289715, so there is no
+ // need for a OnURLRequestJobOrphanedInternal hook.
+ nested_network_delegate_->NotifyURLRequestJobOrphaned(request);
+}
+
void LayeredNetworkDelegate::OnPACScriptError(int line_number,
const base::string16& error) {
OnPACScriptErrorInternal(line_number, error);
« no previous file with comments | « net/base/layered_network_delegate.h ('k') | net/base/network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698