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
read.

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
Reviewed-on: https://chromium-review.googlesource.com/1197924
Commit-Queue: Matt Menke <mmenke@chromium.org>
Reviewed-by: Bill Budge <bbudge@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#588092}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a886f31ed796f5e053765a53be5403b1518aa157
3 files changed