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

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

Issue 12189018: <webview>: Implement WebRequest API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Profile* => void* Created 7 years, 7 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: 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);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/extensions/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698