commit | dade5f876b1649129f74442613ba7087efe181f6 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 13 21:59:21 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 13 21:59:21 2014 |
tree | a9e3ffcf8d604b3bf3c27ea1d78c15af687c9784 | |
parent | ff17bbb14cce131bfca9e60320e59c6f6a809b8b [diff] [blame] |
Add PPAPI_BEGIN_MESSAGE_MAP and PPAPI_END_MESSAGE_MAP to be used when dispatching IPCs using PPAPI_DISPATCH_*. This is because the IPC_BEGIN_MESSAGE_MAP macros are closely tied to IPC_MESSAGE_HANDLERS. This is split off from https://codereview.chromium.org/283623002/ BUG=304341 [email protected], [email protected] Review URL: https://codereview.chromium.org/281803003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270218 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/proxy/device_enumeration_resource_helper.cc b/ppapi/proxy/device_enumeration_resource_helper.cc index 7495ec3a..18b1939 100644 --- a/ppapi/proxy/device_enumeration_resource_helper.cc +++ b/ppapi/proxy/device_enumeration_resource_helper.cc
@@ -93,12 +93,12 @@ bool DeviceEnumerationResourceHelper::HandleReply( const ResourceMessageReplyParams& params, const IPC::Message& msg) { - IPC_BEGIN_MESSAGE_MAP(DeviceEnumerationResourceHelper, msg) + PPAPI_BEGIN_MESSAGE_MAP(DeviceEnumerationResourceHelper, msg) PPAPI_DISPATCH_PLUGIN_RESOURCE_CALL( PpapiPluginMsg_DeviceEnumeration_NotifyDeviceChange, OnPluginMsgNotifyDeviceChange) PPAPI_DISPATCH_PLUGIN_RESOURCE_CALL_UNHANDLED(return false) - IPC_END_MESSAGE_MAP() + PPAPI_END_MESSAGE_MAP() return true; }