diff options
Diffstat (limited to 'chrome/renderer/extensions/extension_dispatcher.cc')
-rw-r--r-- | chrome/renderer/extensions/extension_dispatcher.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/renderer/extensions/extension_dispatcher.cc b/chrome/renderer/extensions/extension_dispatcher.cc index fa3bc54..a2bb8c0 100644 --- a/chrome/renderer/extensions/extension_dispatcher.cc +++ b/chrome/renderer/extensions/extension_dispatcher.cc @@ -62,7 +62,6 @@ bool ExtensionDispatcher::OnControlMessageReceived( IPC_MESSAGE_HANDLER(ExtensionMsg_Unloaded, OnUnloaded) IPC_MESSAGE_HANDLER(ExtensionMsg_SetScriptingWhitelist, OnSetScriptingWhitelist) - IPC_MESSAGE_HANDLER(ExtensionMsg_UpdatePageActions, OnPageActionsUpdated) IPC_MESSAGE_HANDLER(ExtensionMsg_ActivateExtension, OnActivateExtension) IPC_MESSAGE_HANDLER(ExtensionMsg_UpdateUserScripts, OnUpdateUserScripts) IPC_MESSAGE_UNHANDLED(handled = false) @@ -149,17 +148,6 @@ void ExtensionDispatcher::OnSetScriptingWhitelist( Extension::SetScriptingWhitelist(extension_ids); } -void ExtensionDispatcher::OnPageActionsUpdated( - const std::string& extension_id, - const std::vector<std::string>& page_actions) { - if (!page_actions.empty()) { - page_action_ids_[extension_id] = page_actions; - } else { - if (page_action_ids_.find(extension_id) != page_action_ids_.end()) - page_action_ids_.erase(extension_id); - } -} - bool ExtensionDispatcher::IsExtensionActive(const std::string& extension_id) { return active_extension_ids_.find(extension_id) != active_extension_ids_.end(); |