WebSocket Pepper API: synchronous completion support.
Allow optional remote callback, then perform synchronous completion
if receiving data is enough small for SRPC buffer. Otherwise invoke
another callback for asynchronous completion from main thread.
BUG=
87310
TEST=browser_tests --gtest_filter=PPAPINaclTest.WebSocket_StressedSendReceive
Committed:
https://src.chromium.org/viewvc/chrome?view=rev&revision=132413