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

Unified Diff: extensions/browser/api/web_request/web_request_api.h

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
Index: extensions/browser/api/web_request/web_request_api.h
diff --git a/extensions/browser/api/web_request/web_request_api.h b/extensions/browser/api/web_request/web_request_api.h
index 2b262aab779c3421ca0134c4e6097cabbbdbc7d4..958bf42848c49696b4fc573132cf47409205a2b4 100644
--- a/extensions/browser/api/web_request/web_request_api.h
+++ b/extensions/browser/api/web_request/web_request_api.h
@@ -261,6 +261,10 @@ class ExtensionWebRequestEventRouter
void OnURLRequestDestroyed(void* browser_context,
const net::URLRequest* request);
+ // See https://crbug.com/289715.
+ void OnURLRequestJobOrphaned(void* browser_context,
+ const net::URLRequest* request);
+
// Called when an event listener handles a blocking event and responds.
void OnEventHandled(void* browser_context,
const std::string& extension_id,
« no previous file with comments | « chrome/browser/net/chrome_network_delegate.cc ('k') | extensions/browser/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698