Convert WebTestHostMsg_SimulateWebNotificationClick to Mojo
This CL migrates the legacy SetPermission IPC message to the new Mojo defined in WebTestClient interface. Mojo doesn't support base::Optional<int>. So, this CL passes a value if it exists. It the value doesn't exist, a minimum integer value is passed instead. Then, the handler function sets the passed value to base::Optional<> again. Bug: 1039247 Change-Id: I75850e1d642812c7e930a38e317b3eccda51e8ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2045270 Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Peter Beverloo <peter@chromium.org> Reviewed-by:
Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#741092}
Showing
Please register or sign in to comment