Specify a console message for ERR_EMPTY_RESPONSE

On an empty response from the remote server, we should log the message
"Connection closed before receiving a handshake response".

This partially fixes layout test close-before-handshake-response.html.

BUG=339373
TEST=net_unittests, http/tests/websocket

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249659 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249659
Make LayerTreeHostClient::Animate take TimeTicks instead of double

This makes LayerTreeHostClient::Animate take a TimeTicks instead of a
double, moving the conversion to double from the caller of Animate to
wherever doubles are actually needed.

This avoids precision loss caused by converting from TimeTicks to
double and back again when TimeTicks are actually needed (as in
LayerTreeHostClientForTesting::Animate) fixing the suspected cause
of flakiness in LayerTreeHostAnimationTestFrozenAnimationTickTime.

R=danakj,jamesr
TBR=sky

BUG=341517

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249660 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249660
[PPAPI] Removed obsolete TODO in var.h (public C++ API).

The TODO says to remove a constructor when an old bug is fixed. The bug
is long since fixed. However, since removing a constructor would
potentially break existing third-party code, we should not remove it.
So, just removing the TODO.

Note: The existence of this TODO is preventing any changes to var.h from
going through the CQ.

BUG=314120

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

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