summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_process_manager.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-01 02:52:44 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-01 02:52:44 +0000
commit8a2b3537d397d9eefe537eeb65bf891f2d572bf8 (patch)
tree8f7ca3f82a9f3fb80928fbb35bea43694c78aefc /chrome/browser/extensions/extension_process_manager.cc
parent0522f5b2e35625a3dc11928aec38a55d23eec01d (diff)
downloadchromium_src-8a2b3537d397d9eefe537eeb65bf891f2d572bf8.zip
chromium_src-8a2b3537d397d9eefe537eeb65bf891f2d572bf8.tar.gz
chromium_src-8a2b3537d397d9eefe537eeb65bf891f2d572bf8.tar.bz2
Remove ExtensionMsg_UpdatePageActions.
BUG=70516 TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_process_manager.cc')
-rw-r--r--chrome/browser/extensions/extension_process_manager.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/extensions/extension_process_manager.cc b/chrome/browser/extensions/extension_process_manager.cc
index 4a26c5f5..f21c4f8 100644
--- a/chrome/browser/extensions/extension_process_manager.cc
+++ b/chrome/browser/extensions/extension_process_manager.cc
@@ -14,10 +14,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_action.h"
-#include "chrome/common/extensions/extension_messages.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/site_instance.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/notification_service.h"
@@ -231,18 +228,6 @@ void ExtensionProcessManager::RegisterExtensionProcess(
// reused from a dead renderer.
DCHECK(it == process_ids_.end());
process_ids_[extension_id] = process_id;
-
- ExtensionService* extension_service =
- browsing_instance_->profile()->GetExtensionService();
-
- std::vector<std::string> page_action_ids;
- const Extension* extension =
- extension_service->GetExtensionById(extension_id, false);
- if (extension->page_action())
- page_action_ids.push_back(extension->page_action()->id());
-
- RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
- rph->Send(new ExtensionMsg_UpdatePageActions(extension_id, page_action_ids));
}
void ExtensionProcessManager::UnregisterExtensionProcess(int process_id) {