summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 14:43:02 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 14:43:02 +0000
commit173e5e807c62bb789ad46598e46367e019180568 (patch)
treef7d90e64a28b55e2e8417a2ab8ad997392c5836a /chrome/renderer/render_thread.cc
parentc0a9f12a2dbb98ff17d9fd02b250c5deeeed9a85 (diff)
downloadchromium_src-173e5e807c62bb789ad46598e46367e019180568.zip
chromium_src-173e5e807c62bb789ad46598e46367e019180568.tar.gz
chromium_src-173e5e807c62bb789ad46598e46367e019180568.tar.bz2
Reland 44348 Add support for restricting broadcasting events to extensions based on host permissions
BUG=38398 TEST=none TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1642005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r--chrome/renderer/render_thread.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 3a0385a..fc243d8 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -917,8 +917,10 @@ void RenderThread::ScheduleIdleHandler(double initial_delay_s) {
void RenderThread::OnExtensionMessageInvoke(const std::string& function_name,
const ListValue& args,
- bool requires_incognito_access) {
- RendererExtensionBindings::Invoke(function_name, args, NULL, requires_incognito_access);
+ bool requires_incognito_access,
+ const GURL& event_url) {
+ RendererExtensionBindings::Invoke(
+ function_name, args, NULL, requires_incognito_access, event_url);
// Reset the idle handler each time there's any activity like event or message
// dispatch, for which Invoke is the chokepoint.