summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 13:18:10 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 13:18:10 +0000
commite3200680c93abf0299f318fefb37a9efee770bcd (patch)
tree96e850da993f1cc884d164cc3a525a43ac1c6646 /chrome/browser/debugger
parent8426c02d403d815745650e6833b82f22050a1bb2 (diff)
downloadchromium_src-e3200680c93abf0299f318fefb37a9efee770bcd.zip
chromium_src-e3200680c93abf0299f318fefb37a9efee770bcd.tar.gz
chromium_src-e3200680c93abf0299f318fefb37a9efee770bcd.tar.bz2
Revert 44348 - Add support for restricting broadcasting events to extensions based on host permissions.
BUG=38398 TEST=none Review URL: http://codereview.chromium.org/1095002 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1575036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r--chrome/browser/debugger/extension_ports_remote_service.cc5
-rw-r--r--chrome/browser/debugger/extension_ports_remote_service.h6
2 files changed, 4 insertions, 7 deletions
diff --git a/chrome/browser/debugger/extension_ports_remote_service.cc b/chrome/browser/debugger/extension_ports_remote_service.cc
index d2a05ea..c4380d5 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) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 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,8 +243,7 @@ bool ExtensionPortsRemoteService::Send(IPC::Message *message) {
void ExtensionPortsRemoteService::OnExtensionMessageInvoke(
const std::string& function_name,
const ListValue& args,
- bool requires_incognito_access,
- const GURL& event_url) {
+ bool requires_incognito_access) {
if (function_name == ExtensionMessageService::kDispatchOnMessage) {
DCHECK_EQ(args.GetSize(), 2u);
std::string message;
diff --git a/chrome/browser/debugger/extension_ports_remote_service.h b/chrome/browser/debugger/extension_ports_remote_service.h
index 6067f44..3a9e53b 100644
--- a/chrome/browser/debugger/extension_ports_remote_service.h
+++ b/chrome/browser/debugger/extension_ports_remote_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 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.
@@ -21,7 +21,6 @@
class DevToolsProtocolHandler;
class DevToolsRemoteMessage;
class DictionaryValue;
-class GURL;
class ListValue;
class Value;
@@ -76,8 +75,7 @@ class ExtensionPortsRemoteService : public DevToolsRemoteListener,
// Handles a message from the ExtensionMessageService.
void OnExtensionMessageInvoke(const std::string& function_name,
const ListValue& args,
- bool requires_incognito_access,
- const GURL& event_url);
+ bool requires_incognito_access);
// Handles a message sent from an extension through the
// ExtensionMessageService, to be passed to the external client.
void OnExtensionMessage(const std::string& message, int port_id);