summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/extension_ports_remote_service.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 10:51:19 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-14 10:51:19 +0000
commita807bbeaaf2155a346ac946aefeed14620dbc17c (patch)
treef4748ce24b1c9c1c754db15d621611383160aa87 /chrome/browser/debugger/extension_ports_remote_service.cc
parenta0e6f1b8324abee0304470219d1b129b3be30e15 (diff)
downloadchromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.zip
chromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.tar.gz
chromium_src-a807bbeaaf2155a346ac946aefeed14620dbc17c.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/1528038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/extension_ports_remote_service.cc')
-rw-r--r--chrome/browser/debugger/extension_ports_remote_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/debugger/extension_ports_remote_service.cc b/chrome/browser/debugger/extension_ports_remote_service.cc
index c4380d5..d2a05ea 100644
--- a/chrome/browser/debugger/extension_ports_remote_service.cc
+++ b/chrome/browser/debugger/extension_ports_remote_service.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.
@@ -243,7 +243,8 @@ bool ExtensionPortsRemoteService::Send(IPC::Message *message) {
void ExtensionPortsRemoteService::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);
std::string message;