From 9966c15b544129454e32349c43e8bd8ddeaf42d9 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Wed, 14 Sep 2011 19:04:15 +0000 Subject: Only deliver extension messages to contexts that care. This save 60 (of 70) mb of string data on www.mashable.com with AdBlock installed. BUG=96544,76571 Review URL: http://codereview.chromium.org/7890024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101111 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/extension_messages.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/common') diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h index 32dbd91..ee69e1a 100644 --- a/chrome/common/extensions/extension_messages.h +++ b/chrome/common/extensions/extension_messages.h @@ -325,3 +325,8 @@ IPC_MESSAGE_ROUTED3(ExtensionMsg_InlineWebstoreInstallResponse, int32 /* install id */, bool /* whether the install was successful */, std::string /* error */) + +// Deliver a message sent with ExtensionHostMsg_PostMessage. +IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, + int /* target_port_id */, + std::string /* message */) -- cgit v1.1