Index: extensions/browser/api/web_request/web_request_api.h |
diff --git a/extensions/browser/api/web_request/web_request_api.h b/extensions/browser/api/web_request/web_request_api.h |
index e0be827204a5a3c2e7e6a11afaed9a30f16b79aa..fd83cc2dbcd77101a643127c5d226d95aca9db56 100644 |
--- a/extensions/browser/api/web_request/web_request_api.h |
+++ b/extensions/browser/api/web_request/web_request_api.h |
@@ -53,6 +53,7 @@ class URLRequest; |
namespace extensions { |
+struct ExtensionApiFrameId; |
class InfoMap; |
class WebRequestRulesRegistry; |
class WebRequestEventRouterDelegate; |
@@ -339,6 +340,12 @@ class ExtensionWebRequestEventRouter |
const std::vector<const EventListener*>& listeners, |
const base::ListValue& args); |
+ void DispatchEventToListeners( |
+ void* browser_context, |
+ scoped_ptr<std::vector<EventListener>> listeners, |
+ base::DictionaryValue* dict, |
+ const ExtensionApiFrameId& extension_api_frame_id); |
+ |
// Returns a list of event listeners that care about the given event, based |
// on their filter parameters. |extra_info_spec| will contain the combined |
// set of extra_info_spec flags that every matching listener asked for. |