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
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
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
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
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
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
[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
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
Fix some spurious warnings for third party libs.

These warnings are non actionable because they appear in third_party
code, silence them.
BUG=341086
TBR=brettw

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252497 0039d316-1c4b-4281-b951-d872f2087c98
Print out OS name and version in telemetry test.

Apparently some GPU bots's OS are not what they claim to be.

BUG=
TEST=gpu bots
R=kbr@chromium.org,dtu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252498 0039d316-1c4b-4281-b951-d872f2087c98
Handle empty non-final async frames correctly.

WebSocketDeflateStream would pass the frame following an empty non-final
async frame directly to the caller, bypassing the decompression logic.

Fixed.

BUG=343506
TEST=net_unittests, layout tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252499 0039d316-1c4b-4281-b951-d872f2087c98
Win automatic toolchain: copy runtime dlls properly when not run from chrome/src.

gclient runhooks runs gyp_chromium from the chrome/ dir, but the script
was looking for out/ relative to that.

BUG=323300

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252500 0039d316-1c4b-4281-b951-d872f2087c98
Rename RootWindow -> WindowEventDispatcher.

http://crbug.com/308843

R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252501 0039d316-1c4b-4281-b951-d872f2087c98
Fixes DesktopScreenX11::GetWindowAtScreenPoint() so that NULL is returned if a chrome browser window is occluded by a non Chrome app at the passed in point

BUG=339587
TEST=Manual, see bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252502 0039d316-1c4b-4281-b951-d872f2087c98
Connect PPAPI IPC channels for non-SFI mode.

By this CL, plugin starts to talk with hosts via IPC.
For that purpose, ppapi_proxy is linked to nacl_helper (temporarily). This increase the size of nacl_helper, but when we split nacl_helper for non-sfi mode, it'll be resolved.

In SFI mode, this CL shouldn't affect the concept of IPC
channel connection between the plugin and the hosts. We
still use NaClIPCAdapter to wrap the IPC channel, and
NaClDesc for the plugin-side IPC file descriptors.

In non-SFI mode, we neither intercept nor rewrite the
message using NaClIPCAdapter, and the channels are
connected between the plugin and the hosts directly.

Note: plugin_main_nacl.cc is renamed to plugin_main.cc, because files with _nacl.cc suffix are automatically excluded from the sources of non-untrusted libs.

This increases the size of nacl_helper (temporarily) intentionally.

GYP_DEFINES="target_arch=ia32 remove_webcore_debug_symbols=1 linux_strip_symbols=1" GYP_GENERATORS="ninja" gclient runhooks
Before:
   text	   data	    bss	    dec	    hex	filename
1469882	  15576	 108644	1594102	 1852f6	out/Release/nacl_helper

After:
   text	   data	    bss	    dec	    hex	filename
5641443	 124636	 126980	5893059	 59ebc3	out/Release/nacl_helper

GYP_DEFINES="target_arch=x64 remove_webcore_debug_symbols=1 linux_strip_symbols=1" GYP_GENERATORS="ninja" gclient runhooks
Before:
   text	   data	    bss	    dec	    hex	filename
2063530	  27910	 213872	2305312	 232d20	out/Release/nacl_helper

After:
   text	   data	    bss	    dec	    hex	filename
6304467	 234424	 247984	6786875	 678f3b	out/Release/nacl_helper


BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734
TEST=Ran trybot.

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

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