make global_instance_ more strict
Fix a bug where global_instance_ was not set to zero.
Fix MockRenderThread to call OnChannelClosing properly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252078 0039d316-1c4b-4281-b951-d872f2087c98
Add InputRouter perftests for touches and scroll gestures

Add some basic perftests that track how long a given WebTouchEvent or
WebGestureEvent takes to propagate through the InputRouter.  This includes both
the time to send and the time to ack a given event, averaged over a typical
touch swipe or scroll gesture sequence.

BUG=339877
TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252079 0039d316-1c4b-4281-b951-d872f2087c98
Fix double wallpaper animation for public pods.

Public session pods are placed first so this should be reflected in UserManager::EnsureUsersLoaded() because UserManager::GetUsers() user list is used to determine first user wallpaper.

BUG=344858

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252080 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252080
Mojo: Move the header bits of MessageInTransit into a separate struct.

This is a small reorganization before a bigger one.

R=yzshen@chromium.org

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

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