Fix performance trybots.

gclient revert can no longer run now that we're using botupdate.
This works around the issue by using git reset --hard.

BUG=401129
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#288490}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288490 0039d316-1c4b-4281-b951-d872f2087c98
Bump Closure compiler version.

TBR=tbreisacher@chromium.org
BUG=78368

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

Cr-Commit-Position: refs/heads/master@{#288491}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288491 0039d316-1c4b-4281-b951-d872f2087c98
Implement client side tamper detection logic.

The Chrome data reduction feature relies on HTTP headers to 
work correctly and efficiently with the data reduction 
proxy. This include both standard HTTP headers (like Via) 
and custom headers (like Chrome-Proxy). Tampering on these 
headers could lead to miserable user experience, taking 10s 
to load some pages, for example.

In the past, we have seen such headers being stripped by 
middle box proxies (for example, the WWW-Authenticate header 
was stripped by some carrier). It has been known that mobile 
carriers are doing HTTP traffic optimizations. We also want 
to know whether mobile carriers are trying to "optimize" the 
already optimized data reduction proxy response body, which 
might lead to higher cost to users.


We propose a mechanism in Chromium to enable us to learn the 
scale and the types of such tampers. In short, the mechanism 
will check whether a predefined set of HTTP response headers 
and the response body have been changed in a way that could 
affect the data reduction proxy. It will detect such changes 
by using pre-calculated header (and probably content) hashes 
sent by the server. Chromium will report through UMA the 
count of each tamper types has happened. This will only be 
enabled for a fraction of the data reduction proxy users.

BUG=381907

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

Cr-Commit-Position: refs/heads/master@{#288492}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288492 0039d316-1c4b-4281-b951-d872f2087c98
Show GAIA/cookie accounts on the signin-internals page.

BUG=326577

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

Cr-Commit-Position: refs/heads/master@{#288493}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288493 0039d316-1c4b-4281-b951-d872f2087c98
sync: Fix serialization in proto_value_conversions

Adds proper serialiation for the 'initial_sync_in_progress' flag.

This should have been part of r284159.

BUG=351005

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

Cr-Commit-Position: refs/heads/master@{#288494}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288494 0039d316-1c4b-4281-b951-d872f2087c98
Move SocketsTcpApiTest.SocketsTcpCreateGood to app_shell_browsertests.

BUG=388893

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

Cr-Commit-Position: refs/heads/master@{#288495}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288495 0039d316-1c4b-4281-b951-d872f2087c98
[dom_distiller] Fix viewer to use Open Sans webfont.

Previously we were specifying to use Open Sans but the font isn't loaded on Android.
Use the webfont hosted on Google and update CSP to allow it.

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

Cr-Commit-Position: refs/heads/master@{#288497}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288497 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 2118.0 to 2119.0

Cr-Commit-Position: refs/heads/master@{#288498}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288498 0039d316-1c4b-4281-b951-d872f2087c98
Typecheck JS files for chrome://help before doing import transition

BUG=393873
R=dbeam@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#288504}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288504 0039d316-1c4b-4281-b951-d872f2087c98
Roll gtest and gmock DEPS.

These DEPS have not been updated for ~2 years, so there is a good chance
something will blow up. Due to interdependancy between the repos,
rolling gtest required gmock also be rolled.

This CL was originally landed as 288164 and reverted as 288239 because it allows
more aggressive LTO in MSVS. This resulted in the compiler noticing an
intentional arithmetic overflow and warning about it.

BUG=401761

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

Cr-Commit-Position: refs/heads/master@{#288505}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288505 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

Cr-Commit-Position: refs/heads/master@{#288506}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288506 0039d316-1c4b-4281-b951-d872f2087c98
Move constants in guest view to extensions.

BUG=352290

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

Cr-Commit-Position: refs/heads/master@{#288507}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288507 0039d316-1c4b-4281-b951-d872f2087c98
BoringSSL: roll DEPS.

This pulls in the following changes:

c3d7960 Fix DTLS anonymous EC(DH) denial of service
5ba06a7 Fix race condition in ssl_parse_serverhello_tlsext
0dccfbc Fix OID handling.
abae631 Remove some duplicate DTLS code.
e24f686 Same fix as in dtls1_process_out_of_seq_message.
8506609 Fix return code for truncated DTLS fragment.
e951ff4 Fix memory leak from zero-length DTLS fragments.
2306fe5 Fix DTLS handshake message size checks.
3873f6f Added comment for the frag->reassembly == NULL case as per feedback from Emilia
d06afe4 Avoid double free when processing DTLS packets.
eeb9f49 Add PKCS7_bundle_certificates.
8e89e64 bytestring: fix ASN.1 data longer than 127 bytes.
4518d39 Take the source directory as a parameter in all_tests.sh
67454b6 Don't X509_up_ref X509_STOREs.
7fdeaf1 Retry sending record split fragment when SSL write fails.
150c617 Add X509_up_ref and use it internally.
e6e15fc Use EVP_PKEY_dup instead of manually incrementing the refcount.
bf681a4 Fix out-of-bounds read in BN_mod_exp_mont_consttime.
993fde5 Simplify ec_GFp_simple_points_make_affine.
43ec06f Test state machine asynchronous behavior.
734fca0 Fix memory leak in ssl3_get_cert_verify.
95fcaa4 Fix server-side ClientHello state machine.
dd1c246 Fix C99-ism in bio_test.c.
aa4efe7 Fix BIO_printf crash on Mac.
a59fbb0 Correct endif comment in md32_common.h
6ccf290 Remove use of freelist_{extract,insert}
983f6bd Set OPENSSL_NO_BUF_FREELISTS
75d1589 Remove PKCS1_CHECK
499b440 Remove OPENSSL_NO_SHA512
69877b6 Remove OPENSSL_NO_SHA256
f4e5c4e runner: Implement DHE-RSA.
884fdf1 runner: Take the build directory as flag.
2bc8e6f runner: Take the number of workers as a flag.
bef270a Add server-side FallbackSCSV tests.
d86c767 Add a test to assert parsing V2ClientHellos works.
cbd056c Remove OPENSSL_NO_CHAIN_VERIFY
b9d7757 Remove commented x509_chain declaration
a40c862 retain_only_sha256_of_client_certs is not part of OPENSSL_NO_BUF_FREELISTS
a324603 Remove OPENSSL_NO_TLS{,1}
dd11a10 Remove remnants of OPENSSL_FIPS
c1e293c Remove remnants of OPENSSL_NO_CAMELLIA
8f0ceb6 Remove OPENSSL_MAX_TLS1_2_CIPHER_LENGTH.
8cc0b24 Spell Bleichenbacher's name right.

BUG=none

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

Cr-Commit-Position: refs/heads/master@{#288508}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288508 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

Cr-Commit-Position: refs/heads/master@{#288509}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288509 0039d316-1c4b-4281-b951-d872f2087c98
Modify all usage of PageMeasurement to use PageTest in tools/telemetry.
Also modify MeasurePage -> ValidateAndMeasurePage.

BUG=383635

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

Cr-Commit-Position: refs/heads/master@{#288510}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288510 0039d316-1c4b-4281-b951-d872f2087c98
Rename ServiceWorkerFetchStore/FetchStores/FetchStoresManager
to
ServiceWorkerCache/CacheStorage/CacheStorageManager to sync up with the spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-objects

BUG=392621

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

Cr-Commit-Position: refs/heads/master@{#288511}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288511 0039d316-1c4b-4281-b951-d872f2087c98
Use a qualified path for grit includes in chrome/browser/chromeos.

BUG=401588

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

Cr-Commit-Position: refs/heads/master@{#288512}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288512 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Remove obsolete references to webkit_glue namespace.

BUG=338338
TEST=None
R=groby@chromium.org,avi@chromium.org,sky@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#288513}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288513 0039d316-1c4b-4281-b951-d872f2087c98
Componentize component_updater: Fix bug where components disrespect --user-data-dir flag.

BUG=399993
TBR=blundell

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

Cr-Commit-Position: refs/heads/master@{#288514}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288514 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox: Clobber HQP Cache File when user mucks with history

TBR=sky
(as usual for omnibox HistoryQuick provider stuff)

Test: see repro steps on bug.

BUG=400940

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

Cr-Commit-Position: refs/heads/master@{#288515}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288515 0039d316-1c4b-4281-b951-d872f2087c98