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

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

Issue 15825008: Remove the event URL security check out of the renderer and into the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add self check 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
« no previous file with comments | « no previous file | chrome/browser/extensions/app_window_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index 3556d6a59cb1fae5aedb6187d15306264d74eeea..724ac2621eccf8cacd7cbe63b1eeea7e3410cc8c 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -1099,7 +1099,7 @@ bool ExtensionWebRequestEventRouter::DispatchEvent(
extensions::EventRouter::DispatchEvent(
(*it)->ipc_sender.get(), profile_id,
(*it)->extension_id, (*it)->sub_event_name,
- args_filtered.Pass(), GURL(),
+ args_filtered.Pass(),
extensions::EventRouter::USER_GESTURE_UNKNOWN,
extensions::EventFilteringInfo());
if ((*it)->extra_info_spec &
« no previous file with comments | « no previous file | chrome/browser/extensions/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698