Detect enabling or disabling of VPN on Android so
NetworkChangeNotifierAndroid can send out the proper notifications.
This detection uses an instantiation of the AddressTrackerLinux to
listen for NETLINK messages from the kernel about tunnel interaces.

BUG=318794

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249991 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249991
Remove non-Aura stuff from InputMethodWin

This CL removes obsolete code from InputMethodWin, which were used in pre-Aura era.

BUG=330735, 319122
TEST=unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249992 0039d316-1c4b-4281-b951-d872f2087c98
Generate ax enums from idl.

This cl lays the groundwork for sharing all ax enums between platfrom accessibility and extension accessibility.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249993 0039d316-1c4b-4281-b951-d872f2087c98
Land Recent QUIC Changes.

Add a LOG(DFATAL) if the sequence number length is too small to fit the
least_unacked delta in a QUIC ack frame.

Merge internal change: 61228351
https://codereview.chromium.org/156233004/


Change the types of the arguments to two methods in
QuicReceivedPacketManager to be more specific.  No behavior changes.

Merge internal change: 61215502
https://codereview.chromium.org/157803006/


Add convenience version() method to QuicServerSessionTest.

Merge internal change: 61210235
https://codereview.chromium.org/158173002/


Add convenience version() method to QuicSessionTest.

Merge internal change: 61206589
https://codereview.chromium.org/158063003/


Fix bug in QuicSentPacketManager::ClearPreviousRetransmissions where
pending packets were abandoned instead of being kept unacked so they
could be detected to be lost.

Merge internal change: 61197933
https://codereview.chromium.org/158073007/


Add QUIC_VERSION_15 to add a revived_packets set to replace the
deprecated accumulated_number_of_lost_packets field.

FEC requires a way to communicate that the peer doesn't need a packet
retransmitted, without indicating it's been received to the send
algorithm.

Merge internal change: 61159374
https://codereview.chromium.org/157403006/


Rename previous_transmissions to all_transmission in the QUIC unacked
packet map.  Change all_transmission to include all transmissions of a
packet, even if there is only one, instead of becoming null.

Merge internal change: 61144526
https://codereview.chromium.org/158153002/


Use an alternative fix for OneShotVisitor of CryptoFramer that doesn't
require a done() method.

Detect an old-style Public Reset packet by checking for a sequence
number length of 6 in public flags. This requires updating the
expected error details messages in PublicResetPacket unit tests.

Merge internal change: 61152017
https://codereview.chromium.org/153993015/


Refactor QuicSentPacketManager::MarkPacketHandled to simplify
implementation in preparation for breaking out the unacked packet map.
Also fixes a minor bug in which a packet which has been marked for
retransmission would still be retransmitted if a previous transmission
was acked.

Merge internal change: 61139074
https://codereview.chromium.org/137923007/


Doing early validation of quic config, to change a potential
crash-during-serving to a crash-on-startup.

Changing a serving crash to a start-up crash.  Not flag protected

Merge internal change: 61136961
https://codereview.chromium.org/157383006/


Remove parity tracking in FEC groups as part of the migration to
QUIC_VERSION_15, which does not need it.

Merge internal change: 61136827
https://codereview.chromium.org/157913003/


Comment out flaky test expectation while the root cause is investigated.

Merge internal change: 61104556
https://codereview.chromium.org/135933005/


QUIC - clean up changes - fixed during merge with internal source code.

Merge internal change: 61045294
https://codereview.chromium.org/157403005/


Fix problems with absolute value function.

The standard library provides seven absolute value functions.  From C,
there is abs, labs, llabs, fabs, fabsf, and fabsl for the types int,
long, long long, double, float and long double.  Due to numeric
conversions, these functions can accept arguments of any numeric types,
silently converting between types.  C++ libraries has std::abs, which
provides overloads for all these types, making it a better choice.  The
following problems have been observed, along with their fixes:

1) The wrong sized absolute value was used.  Using abs for a long long
would cause a cast to int first, resulting in unexpected values outside
of the range (INT_MIN, INT_MAX).  Switch to using std::abs
2) Using the wrong type of absolute value function.  Passing a floating
point number to an integer absolute value will cause rounding of
values, especially important for values close to zero.  Switch to using
std::abs
3) Taking the absolute value of an unsigned value.  This usually has no
effect, but may have some effects from casting.  Fixed by removing the
absolute value function.
4) Attempting to find the absolute difference between two unsigned
values.  These were transformed from abs(a - b) to
(a > b ? a - b : b - a).  This ternary expression is usually stored in
another variable.
5) Accidentally capturing the conditional such as
abs(a - b < threshold).  Moving the parentheses over to fix.
6) Some static_casts were used to, such as from uint32 -> int64, to get
a signed value in the absolute value.
7) A few types were changed from unsigned to signed.

Merge internal change: 61013787
https://codereview.chromium.org/136123012/


Pass the whole QuicRstStreamFrame to OnStreamReset. Preparation for
dealing with byte_offset updates that arrive in the RST frame.

(minor) QUIC OnStreamReset now takes QuicRstStreamFrame as argument.

Merge internal change: 60995908
https://codereview.chromium.org/142373006/

R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249994 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249994
Printer registration using CDD.
The code is not enabled yet.

BUG=317027

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249967

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249995 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249995
Add key based scrolling on magnified screen for kiosk mode.

* Add MagnifierKeyScroller event handler that interprets
  click and hold action.
* kAshEnableMagnifierKeyScroller to test on desktop.
* Modified EventGenerator to generate native event for key press/release.

BUG=340729
TEST=MagnifierKeyScrollerTest

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249996 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Add @Disabled and @Enabled decorators.

BUG=341885

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249997 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 166755:166769

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166756:166769&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249999 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249999
Adding application name message in kiosk mode after user timeout

This is a security feature for a user who interacts with a kiosk device - making sure that he/she knows which application is running.

When a user interacts with the device after 2 minutes of inactivity, a message shows which application is running and who was the author.

When spoken feedback is turned on, the device will also narrowate the content of the message.

The message itself will slide in from the top and - after a short timeout - will automatically slide out again.

BUG=268453
TEST=unit test & visual test

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249921

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250000 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250000
Fix valgrind warnings in YUV scaling code.

BUG=113076

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

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