Add a unit test for the Net.QuicSession.PublicResetAddressMismatch
histogram.

R=jar@chromium.org,rch@chromium.org
BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252300 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash of OmniboxViewViewsTest.SelectAllOnClick on Linux Aura

XGrabPointer() generates EnterNotify/LeaveNotify events with the mouse cursor's current position which affects:
- aura::Env::last_mouse_location()
- The position of mouse events sent via ui_controls::SendMouseEventsNotifyWhenDone()

This CL moves the mouse cursor such that the EnterNotify/LeaveNotify events have the intended location (as opposed to the position of the mouse cursor before the test began).

BUG=163931
TEST=OmniboxViewViewsTest test suite passes

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

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

Update the patch to always immediate acknowledge swaps. This immediate
ack can be removed if this has landed and things are still green.

TBR=piman

> Revert 251918 "Do not send a frame swap ack from the browser unt..."
>
> The bots tells this CL broke most of the webrtc browser tests on Mac.
> http://chromegw/i/internal.chromium.webrtc/builders/Mac%20Tester
>
>
> BUG=344912
> TEST=webrtc bots.
>
> > Do not send a frame swap ack from the browser until the frame is drawn
> >
> > Code to do this was recently removed because it was no longer being
> > used in r241225 (https://codereview.chromium.org/116103002). This is
> > now necessary again to throttle renderers when using CoreAnimation.
> >
> > Frames are acked only when they are drawn. Both the CoreAnimation and
> > the non-CoreAnimation paths are changed to behave this way. By virtue
> > of the fact that the non-CoreAnimation path draws immediately, this
> > should have no functional effect on that path.
> >
> > This differs from the mechanism deleted in the aforementioned patch in
> > two ways.
> >
> > First, it uses a scoped_ptr of a struct instead of a vector of pairs to
> > store the information about the swap being returned. This should improve
> > readability in that the ack has struct names instead of just first and
> > second in the pair, and in that the scoped_ptr does not suggest support
> > for multiple pending swaps (which does not exist).
> >
> > Second, it does makes RWHVMac ack frames more aggressively when
> > inside a draw call, rather than adding a call from RWHImpl to the view,
> > to effect the ack (which is what the old way does).
> >
> > BUG=340133
> >
> > Review URL: https://codereview.chromium.org/165703002
>
> TBR=ccameron@chromium.org
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252031

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252302 0039d316-1c4b-4281-b951-d872f2087c98
Fix the issue which makes the last item in the first page looks like disappeared when user drag an item in the second page around.

This is due to the code to set the drop_target_ to be the last item on the page for re-ordering attempt when the dragged item is hovering on page switch bar. This is fixed by set to drop_attempt_ to DROP_FOR_NONE. Also, I make it a little bit easy to drop the item at the end of the last page when user drags an item across pages to the last page and place it on the last empty slot.

BUG=338518
R=xiyuan@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252303 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252303
Set new negotiated SPDY version after reusing of SpdySM

R=yhirano@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252304 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252304
Move logic that starts CertLoader from login_utils to user_manager_impl.

The problem with having this in login_utils is that this code doesn't run if
the login is skipped (e.g. on crash recovery), so the certificate loader never
starts in this case.

BUG=341324

TEST=
(1. make sure there are some user certs installed for the primary user)
2.in chrome://settings: 'Add connection', 'Add WiFi', 'Advanced',
set 'EAP method' to EAP-TLS, verify there is a certificate listed under
'User certificates'
3.1. go to chrome://inducebrowsercrashforrealz
3.2. in chrome://flags change any flag and click 'Restart now'
4.1. and 4.2. same as step 2.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252305 0039d316-1c4b-4281-b951-d872f2087c98
Allow resolution change for screen/window cast.
The video frame will no longer be letter boxed after the change.

BUG=344718

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252306 0039d316-1c4b-4281-b951-d872f2087c98
Cast: Send redundant Cast receiver events through RTCP

We used to send Cast receiver events to the sender through RTCP only
once. That means if the RTCP packet is lost we do not receiver the
event.

This change adds redundancy such that each RTCP packet from Cast
receiver to sender is filled with the last known events. RtcpSender
then remove duplicates. This adds more reliability to the event
collection mechanism in Cast.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252307 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252306
SVN changes up to revision 252307
Persist server's crypto config data to disk cache for 0-RTT.

+ Changed QuicCryptoClientStream's state machine to wait for the read of disk cache data before we sent CHLO.

+ This code is not hooked up yet because QuicServerInfoFactory is not yet hooked up. I have tested the code by manually creating it.

This CL was coded by wtc/raman

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

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

Since tab dragging now does a native move loop we get docking for free (well, > win7 at least). If we want something for ash
we'll do that separately.

BUG=154076
TEST=none
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252311 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252311
Remove the last ...OnUIThread method from drive::ResourceMetadata.

BUG=231222

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252312 0039d316-1c4b-4281-b951-d872f2087c98
raw_var_data: Fixed a tiny copy+paste error in a comment.

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

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