Add closing handshake timeout.

If either the Close message or socket close fails to arrive within 4
minutes, we should close the connection outselves.

Also add tests for the closing handshake timeout (using a 1ms timeout).

BUG=230756
TEST=net_unittests --gtest_filter=WebSocketChannel*

Review URL: https://codereview.chromium.org/31813007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230367 0039d316-1c4b-4281-b951-d872f2087c98
cc: PictureLayerImpl with empty bounds should not have tiles

If a PictureLayer bounds is set to from non-empty to empty,
PictureLayer::Update is skipped so the picture pile is not
updated. In this case, the PictureLayerImpl should not have
tilings.

Internal bug b/11288267

BUG=276988
TEST=PictureLayerImplTest.EmptyBoundNonEmptyPile

Review URL: https://codereview.chromium.org/32513003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230368 0039d316-1c4b-4281-b951-d872f2087c98
Add DEPS files for public/. Add exclusion for public/tests/.

Review URL: https://codereview.chromium.org/34393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230369 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230368
SVN changes up to revision 230369