Refactored DeviceManagementService to avoid statistics_provider.h.

The policy code will be moved into a component and can't include chrome/
code directly. This change moves usage of chromeos::system::StatisticsProvider
into the BrowserPolicyConnector, and makes the DeviceManagementService get the
derived data instead.

BUG=271392

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225984 0039d316-1c4b-4281-b951-d872f2087c98
Web Speech API: cancel outstanding infobar requests when aborting.

This CL enforces the cancellation of outstanding media requests
for speech recognition sessions which are aborted before getting
the media request approval (i.e. before the user clicks on the
Allow/Deny media access request infobar).

BUG=296690

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225985 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 225984
Telemetry: expands websocket exception handling.

Some downstream bots are printing hundreds of:
WARNING:root:Timeout waiting for tracing response, unusual.
The actual underlying exception is websocket.WebSocketConnectionClosedException
Retry only on timeout, but raise on any more generic exception.

BUG=

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

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