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

Unified Diff: extensions/renderer/api_bindings_system.cc

Issue 2768093002: [Reland][Extensions Bindings] Add support for filtered events (Closed)
Patch Set: Fix Created 3 years, 9 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/renderer/api_bindings_system.h ('k') | extensions/renderer/api_bindings_system_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/api_bindings_system.cc
diff --git a/extensions/renderer/api_bindings_system.cc b/extensions/renderer/api_bindings_system.cc
index 116d0cc53224e946b20d6a6e11f13625d33a9bc5..64ba58649fd1bc3703fc6af7c1b7426351cfc068 100644
--- a/extensions/renderer/api_bindings_system.cc
+++ b/extensions/renderer/api_bindings_system.cc
@@ -103,8 +103,9 @@ void APIBindingsSystem::CompleteRequest(int request_id,
void APIBindingsSystem::FireEventInContext(const std::string& event_name,
v8::Local<v8::Context> context,
- const base::ListValue& response) {
- event_handler_.FireEventInContext(event_name, context, response);
+ const base::ListValue& response,
+ const EventFilteringInfo& filter) {
+ event_handler_.FireEventInContext(event_name, context, response, filter);
}
APIBindingHooks* APIBindingsSystem::GetHooksForAPI(
« no previous file with comments | « extensions/renderer/api_bindings_system.h ('k') | extensions/renderer/api_bindings_system_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698