diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 19:04:15 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-14 19:04:15 +0000 |
commit | 9966c15b544129454e32349c43e8bd8ddeaf42d9 (patch) | |
tree | b0ee9d420f63526894aca6ceee33a3d927d2eb36 /chrome/common | |
parent | d443fba7a6e9ad4eaa9fd86e508ee3973bcf81cf (diff) | |
download | chromium_src-9966c15b544129454e32349c43e8bd8ddeaf42d9.zip chromium_src-9966c15b544129454e32349c43e8bd8ddeaf42d9.tar.gz chromium_src-9966c15b544129454e32349c43e8bd8ddeaf42d9.tar.bz2 |
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
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/extensions/extension_messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */) |