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

Unified Diff: extensions/browser/extension_message_filter.h

Issue 2943583002: [extension SW] Support lazy events from extension service workers. (Closed)
Patch Set: sync @tott 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/events/lazy_event_dispatcher.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 5859a9700bb6e95e37135d112f825b3c67cae32e..8e3b6f7a55b58f25f20aa22b1a2de4efca4e45ec 100644
--- a/extensions/browser/extension_message_filter.h
+++ b/extensions/browser/extension_message_filter.h
@@ -61,11 +61,17 @@ class ExtensionMessageFilter : public content::BrowserMessageFilter {
const std::string& event_name,
int worker_thread_id);
void OnExtensionAddLazyListener(const std::string& extension_id,
- const std::string& event_name,
- int worker_thread_id);
+ const std::string& event_name);
+ void OnExtensionAddLazyServiceWorkerListener(
+ const std::string& extension_id,
+ const std::string& event_name,
+ const GURL& service_worker_scope);
void OnExtensionRemoveLazyListener(const std::string& extension_id,
- const std::string& event_name,
- int worker_thread_id);
+ const std::string& event_name);
+ void OnExtensionRemoveLazyServiceWorkerListener(
+ const std::string& extension_id,
+ const std::string& event_name,
+ const GURL& worker_scope_url);
void OnExtensionAddFilteredListener(const std::string& extension_id,
const std::string& event_name,
const base::DictionaryValue& filter,
« no previous file with comments | « extensions/browser/events/lazy_event_dispatcher.cc ('k') | extensions/browser/extension_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698