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;
 }