the checkAPIAccessControl should be async from the extension process host. so we need to provide this function in the beginning of the sync IPC processing.

follow the instruction of ipc/ipc_message_macros.h on how to respond to a synchronous message with delayed send().