Index: chrome/browser/extensions/api/web_request/web_request_api.h |
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.h b/chrome/browser/extensions/api/web_request/web_request_api.h |
index a28aa6737fcd7a1a11bd3b9cae287090ee625f78..aba1d8fa45354a4d30f3dacdcc8d4cdbaed74968 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_api.h |
+++ b/chrome/browser/extensions/api/web_request/web_request_api.h |
@@ -245,8 +245,9 @@ class ExtensionWebRequestEventRouter |
const std::string& sub_event_name, |
const RequestFilter& filter, |
int extra_info_spec, |
- int target_process_id, |
- int target_route_id, |
+ int caller_process_id, |
+ int caller_routing_id, |
+ int web_view_instance_id, |
base::WeakPtr<IPC::Sender> ipc_sender); |
// Removes the listener for the given sub-event. |
@@ -255,6 +256,14 @@ class ExtensionWebRequestEventRouter |
const std::string& extension_id, |
const std::string& sub_event_name); |
+ // Removes the listeners for a given <webview>. |
+ void RemoveWebViewEventListeners( |
+ void* profile, |
+ const std::string& extension_id, |
+ int embedder_process_id, |
+ int embedder_routing_id, |
+ int web_view_instance_id); |
+ |
// Called when an incognito profile is created or destroyed. |
void OnOTRProfileCreated(void* original_profile, |
void* otr_profile); |