summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 01:59:06 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-15 01:59:06 +0000
commitb2e86ec1451ae130de0b4631aafa3ed5e28aeb89 (patch)
tree998618331ac4d7a5cf86811924e06a7b4ace9994 /chrome/common
parent4ce91bae2d4addf95b1454beadde541cf2d365ff (diff)
downloadchromium_src-b2e86ec1451ae130de0b4631aafa3ed5e28aeb89.zip
chromium_src-b2e86ec1451ae130de0b4631aafa3ed5e28aeb89.tar.gz
chromium_src-b2e86ec1451ae130de0b4631aafa3ed5e28aeb89.tar.bz2
Reland 101111 - Only deliver extension messages to contexts that care.
BUG=96544,76571 Review URL: http://codereview.chromium.org/7888064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/extensions/extension_messages.h5
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 */)