diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 15:02:53 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 15:02:53 +0000 |
commit | 9f005fe34de31a4db2e5e71c1780681cf8e81f6d (patch) | |
tree | d05519124cbcb006311f551a7c23575c5545c8b0 /chrome/browser/extensions/extension_menu_manager.cc | |
parent | 115db1d73d21e02b498a8fe369f02fdca93bb2db (diff) | |
download | chromium_src-9f005fe34de31a4db2e5e71c1780681cf8e81f6d.zip chromium_src-9f005fe34de31a4db2e5e71c1780681cf8e81f6d.tar.gz chromium_src-9f005fe34de31a4db2e5e71c1780681cf8e81f6d.tar.bz2 |
Revert 44351 - 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
TBR=jochen@chromium.org
Review URL: http://codereview.chromium.org/1521027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_menu_manager.cc')
-rw-r--r-- | chrome/browser/extensions/extension_menu_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_menu_manager.cc b/chrome/browser/extensions/extension_menu_manager.cc index bbf9909..809085e 100644 --- a/chrome/browser/extensions/extension_menu_manager.cc +++ b/chrome/browser/extensions/extension_menu_manager.cc @@ -316,7 +316,7 @@ void ExtensionMenuManager::ExecuteCommand(Profile* profile, base::JSONWriter::Write(&args, false, &json_args); std::string event_name = "contextMenu/" + item->extension_id(); service->DispatchEventToRenderers(event_name, json_args, - profile->IsOffTheRecord(), GURL()); + profile->IsOffTheRecord()); } void ExtensionMenuManager::Observe(NotificationType type, |