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

Unified Diff: chrome/renderer/extensions/extension_helper.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 | « chrome/renderer/extensions/extension_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/extension_helper.cc
diff --git a/chrome/renderer/extensions/extension_helper.cc b/chrome/renderer/extensions/extension_helper.cc
index 88cfe14c56328c52ab3cd27d97f2a904ecbb9bc7..cbb9aec63182395dd5929b39645d0a806bbae4d5 100644
--- a/chrome/renderer/extensions/extension_helper.cc
+++ b/chrome/renderer/extensions/extension_helper.cc
@@ -252,7 +252,6 @@ void ExtensionHelper::OnExtensionResponse(int request_id,
void ExtensionHelper::OnExtensionMessageInvoke(const std::string& extension_id,
const std::string& function_name,
const base::ListValue& args,
- const GURL& event_url,
bool user_gesture) {
scoped_ptr<WebScopedUserGesture> web_user_gesture;
if (user_gesture) {
@@ -260,7 +259,7 @@ void ExtensionHelper::OnExtensionMessageInvoke(const std::string& extension_id,
}
dispatcher_->v8_context_set().DispatchChromeHiddenMethod(
- extension_id, function_name, args, render_view(), event_url);
+ extension_id, function_name, args, render_view());
}
void ExtensionHelper::OnExtensionDispatchOnConnect(
« no previous file with comments | « chrome/renderer/extensions/extension_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698