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

Unified Diff: chrome/browser/extensions/extension_webrequest_api.h

Issue 7523042: Add a status message "Waiting for extension Foo..." when there's a request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 5 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: chrome/browser/extensions/extension_webrequest_api.h
diff --git a/chrome/browser/extensions/extension_webrequest_api.h b/chrome/browser/extensions/extension_webrequest_api.h
index 5790c7e8561ed9bc7bd2df696f6f75e7e71f5d9b..c160ebd4b1f28e400aaaf0182f3e2c2ef0fc5169 100644
--- a/chrome/browser/extensions/extension_webrequest_api.h
+++ b/chrome/browser/extensions/extension_webrequest_api.h
@@ -210,6 +210,7 @@ class ExtensionWebRequestEventRouter {
void AddEventListener(
void* profile,
const std::string& extension_id,
+ const std::string& extension_name,
const std::string& event_name,
const std::string& sub_event_name,
const RequestFilter& filter,
@@ -290,7 +291,11 @@ class ExtensionWebRequestEventRouter {
// method requested by the extension with the highest precedence. Precedence
// is decided by extension install time. If |response| is non-NULL, this
// method assumes ownership.
- void DecrementBlockCount(uint64 request_id, EventResponse* response);
+ void DecrementBlockCount(
+ void* profile,
+ const std::string& event_name,
+ uint64 request_id,
+ EventResponse* response);
// Sets the flag that |event_type| has been signaled for |request_id|.
// Returns the value of the flag before setting it.

Powered by Google App Engine
This is Rietveld 408576698