Cast: Added a LogSerializer class and hook it up to sender app.

A LogSerializer takes a FrameEventMap and PacketEventMap as well as a stream id associated with these events and outputs them in a serialized format. A LogSerializer is capable of taking more than one set of data (e.g. one set of audio + one set of video frame/packet events) before outputting the serialized data.

The intended use case is that at the end of a mirroring session, logged events will be passed to LogSerializer in order to obtain a serialized format to return to the application which can then be uploaded.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252483 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252483
drive: Start change list loading and directory loading at the same time for initial load

On initial load, start change list loading and directory loading at the same time.
Avoid starting directory loading when change list loading is expected to finish quickly.

BUG=335469
TEST=unit_tests
R=kinaba@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252484 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252484
Telemetry: Use mimimum tracing for timeline benchmarks.

PERF SHERIFF WARNING: This will drastically change the 
thread-time benchmarks for the better. This is purely a
measurement change though, by removing overhead from traces.

Tracing adds significant overhead. We can add more details
by default as we prune the list of traces.

When details are reported, default traces are enabled again,
as otherwise there is no details to report.

BUG=331903

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252485 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252485
Omnibox: SearchProvider: Fix Navsuggestions in Prevent-Inlining Mode

Precisely, navsuggestions that look like a user's input (trailing slash or not, omitted scheme/droppable prefix)--are effectively a what-you-typed suggestion--sometimes were previously erroneously marked as "not allowed to be the default match" when the user is backspacing (i.e., prevent_inline_autocompletion mode).

This causes some wonkiness, especially now that reorder mode is default.  See listed bug.

This fixes the trouble and added/corrects tests.

BUG=344585

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252486 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252486
Updating trunk VERSION from 1851.0 to 1852.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252488 0039d316-1c4b-4281-b951-d872f2087c98
Don't process pending prefetch events if we fail to create video decoder job

In the current logic, we continue to process prefetch requests if video decoder job fails to create due to empty surface.
However, that may lead to a NPE because we do not do null check on video_decoder_job_ in our code
Since StartInternal() won't do anything if video decoder job is null, we can return early when the surface is empty.
Playback will continue once a non-empty surface is passed to MSP.

BUG=343508

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252489 0039d316-1c4b-4281-b951-d872f2087c98
QUIC - clarified comments for persisting crypto config per comments in
https://codereview.chromium.org/154933003/#ps2970001

R=wtc@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252491 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252489
Implementation of Randomized Aggregatable Privacy-Preserving Ordinal Responses (RAPPORs).

See the design doc at http://www.chromium.org/developers/design-documents/rappor

BUG=328168
TBR=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252492 0039d316-1c4b-4281-b951-d872f2087c98
Implement account switcher as action-bar navigation spinner.

BUG=338773

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252493 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252494 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252494
[telemetry] Speed index - calculate histogram difference using earth mover's distance.

Previously it was the total difference of the individual buckets.
The EMD is better for noisy data, as would be caused by compression artifacts and things like that.


BUG=None.
TEST=None.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252495 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252495
Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1).

These are a mix of everywhere changing Profile to BrowserContext and simply putting Profile::FromBrowserContext in the constructor (not changing the service's use of Profile*).

BUG=309909

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

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