Remove Chrome dependencies from sockets API implementations.

This is part of an effort to start separating APIs from src/chrome
and eventually move them into src/extensions.

BUG=347574
TBR=yoz@chromium.org for DEPS

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254823 0039d316-1c4b-4281-b951-d872f2087c98
drive: Clean up GCahce/v1/tmp on startup.

Files in the directory need not persist across sessions. However, in the
current implementation they are not cleaned up.

BUG=341719

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254824 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254823
Use detailed time format in session length / logout confirmation

At that occasion, remove explicit rounding in logout confirmation because
rounding to nearest int is handled by the time formatting functions since
2dd24c86 (Jan 30 2014).

BUG=264361

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254825 0039d316-1c4b-4281-b951-d872f2087c98
Remove compatibility overload in DevTools agent following blink roll

This removes an overload of DevtoolsAgent::setTraceEventCallback()
following the call-site change in blink (see blink's r168288 and
chromium's r254143 for more details)

TBR=pfeldman

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

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