Pass Chrome IPC message parameters by move
Chrome IPC has passed the deserialized IPC message by const-ref, that
forces the IPC handler to copy it on a thread hop.
After this CL, IPC_MESSAGE_HANDLER macro start passing the parameter
by move, so that the IPC handler can take the IPC message parameters
by value, and pass it around without copying it.
Change-Id: I565da85612eae71021186f27980e8a0d0686a569
Reviewed-on: https://chromium-review.googlesource.com/634785
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498443}
CrOS-Libchrome-Original-Commit: 88707f978273e82c8d497cbf95255272c6286ceb
1 file changed