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

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

Issue 10837164: WebRequest: Signal end of request if start signaled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WasSignaled is now a const method. Created 8 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 | chrome/browser/extensions/api/web_request/web_request_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_request/web_request_api.h
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.h b/chrome/browser/extensions/api/web_request/web_request_api.h
index 64aca354fcbf21c8fe1bbac2a63ee7e5262c9a88..f29d699a5cede3d8002bc9a9bf0be48331b63649 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.h
+++ b/chrome/browser/extensions/api/web_request/web_request_api.h
@@ -371,6 +371,9 @@ class ExtensionWebRequestEventRouter
// OTR and vice versa).
void* GetCrossProfile(void* profile) const;
+ // Returns true if |request| was already signaled to some event handlers.
+ bool WasSignaled(const net::URLRequest& request) const;
+
// A map for each profile that maps an event name to a set of extensions that
// are listening to that event.
ListenerMap listeners_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698