Add some more PPAPI TCP tests.

In particular, add some tests for various errors and state transitions,
and make sure reading from a closed socket returns net::OK on the first

This CL also splits up the PPAPI TcpSocket browser test into multiple
tests to decrease the chance of the tests timing out.

Bug: 848078
Change-Id: I308cfa0ac60db63ada4a41dce8d93e68393600ff
Commit-Queue: Matt Menke <>
Reviewed-by: Bill Budge <>
Cr-Original-Commit-Position: refs/heads/master@{#588092}
Cr-Mirrored-Commit: a886f31ed796f5e053765a53be5403b1518aa157
3 files changed