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..108174cd18bb71f5f7f0936aa439f2678c39d5c8 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,8 @@ class ExtensionWebRequestEventRouter |
const std::string& sub_event_name, |
const RequestFilter& filter, |
int extra_info_spec, |
- int target_process_id, |
- int target_route_id, |
+ int embedder_process_id, |
+ int web_view_instance_id, |
base::WeakPtr<IPC::Sender> ipc_sender); |
// Removes the listener for the given sub-event. |
@@ -255,6 +255,13 @@ 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 web_view_instance_id); |
+ |
// Called when an incognito profile is created or destroyed. |
void OnOTRProfileCreated(void* original_profile, |
void* otr_profile); |