diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 14:43:02 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 14:43:02 +0000 |
commit | 173e5e807c62bb789ad46598e46367e019180568 (patch) | |
tree | f7d90e64a28b55e2e8417a2ab8ad997392c5836a /chrome/browser/automation/extension_port_container.cc | |
parent | c0a9f12a2dbb98ff17d9fd02b250c5deeeed9a85 (diff) | |
download | chromium_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/browser/automation/extension_port_container.cc')
-rw-r--r-- | chrome/browser/automation/extension_port_container.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/automation/extension_port_container.cc b/chrome/browser/automation/extension_port_container.cc index e167e7e..e93f42c 100644 --- a/chrome/browser/automation/extension_port_container.cc +++ b/chrome/browser/automation/extension_port_container.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -114,7 +114,8 @@ bool ExtensionPortContainer::Send(IPC::Message *message) { void ExtensionPortContainer::OnExtensionMessageInvoke( const std::string& function_name, const ListValue& args, - bool requires_incognito_access) { + bool requires_incognito_access, + const GURL& event_url) { if (function_name == ExtensionMessageService::kDispatchOnMessage) { DCHECK_EQ(args.GetSize(), 2u); |