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

Unified Diff: extensions/browser/extension_message_filter.h

Issue 2886923002: [extension SW]: Support event listener registration and event dispatching. (Closed)
Patch Set: sync Created 3 years, 6 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 | « extensions/browser/event_router.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_message_filter.h
diff --git a/extensions/browser/extension_message_filter.h b/extensions/browser/extension_message_filter.h
index cfc687a6a26380df19b8021cb7a3632456f36782..5859a9700bb6e95e37135d112f825b3c67cae32e 100644
--- a/extensions/browser/extension_message_filter.h
+++ b/extensions/browser/extension_message_filter.h
@@ -54,14 +54,18 @@ class ExtensionMessageFilter : public content::BrowserMessageFilter {
// Message handlers on the UI thread.
void OnExtensionAddListener(const std::string& extension_id,
const GURL& listener_url,
- const std::string& event_name);
+ const std::string& event_name,
+ int worker_thread_id);
void OnExtensionRemoveListener(const std::string& extension_id,
const GURL& listener_url,
- const std::string& event_name);
+ const std::string& event_name,
+ int worker_thread_id);
void OnExtensionAddLazyListener(const std::string& extension_id,
- const std::string& event_name);
+ const std::string& event_name,
+ int worker_thread_id);
void OnExtensionRemoveLazyListener(const std::string& extension_id,
- const std::string& event_name);
+ const std::string& event_name,
+ int worker_thread_id);
void OnExtensionAddFilteredListener(const std::string& extension_id,
const std::string& event_name,
const base::DictionaryValue& filter,
« no previous file with comments | « extensions/browser/event_router.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698