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

Unified Diff: extensions/browser/api/web_request/web_request_api.h

Issue 1413543005: Use FrameTreeNode ID as frameId in extension APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/:/ / Created 4 years, 11 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: 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 4b214ca491c5a9a6a057e47327d137ef29741c11..191005d54a069aedc01fc8a4790e98ffc03b723f 100644
--- a/extensions/browser/api/web_request/web_request_api.h
+++ b/extensions/browser/api/web_request/web_request_api.h
@@ -342,6 +342,13 @@ 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,
+ int extension_api_frame_id,
+ int extension_api_parent_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.

Powered by Google App Engine
This is Rietveld 408576698