Incrementing VERSION to 39.0.2171.6

Cr-Commit-Position: refs/branch-heads/2171@{#13}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
[Search] Adjust buttons in the first run experience.

Pure HTML/CSS changes. No tests affected.

BUG=413337,416228

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

(cherry picked from commit 09cf0975fa6b32923b65225eafd3793a15f08f64)

Cr-Original-Commit-Position: refs/heads/master@{#297270}
Cr-Commit-Position: refs/branch-heads/2171@{#14}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Revert "Remove MediaSettingChanged infobar and show the latest state of the media stream"

Reverting this on M39 branch only.
BUG=405522

This reverts commit 1fb9a9bdf67911afcd8579c446daed6015a86103.

Cr-Commit-Position: refs/branch-heads/2171@{#15}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Use the correct v8 context for conversions when calling into the plugin from JS

Previously we were using the plugin context when converting objects during calls
into the plugin from JS. As decided previously in https://codereview.chromium.org/555583003/
we should always use the caller's context in these circumstances.

This CL also separates the checks in PepperPluginInstanceImpl::GetContext to
help diagnose crbug.com/416311.

BUG=416311

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

Cr-Commit-Position: refs/heads/master@{#297136}
(cherry picked from commit 816f98b97b87b84e2e1e6cff7dd1f4da9749cc2c)

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

Cr-Commit-Position: refs/branch-heads/2171@{#16}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
PPAPI: Never re-enter JavaScript for PostMessage.

Blocking renderer->plugin messages can be interrupted by any message
from the plugin->renderer (even async ones). So while handline a blocking
message, such as HandleInputEvent or HandleBlockingMessage, it's currently
possible to re-enter JavaScript. This patch makes that impossible by
queueing up Plugin->Renderer messages sent via PPB_Messaging::PostMessage
while any renderer->plugin sync message is on the stack.

BUG=384528
TBR=raymes

Committed: https://crrev.com/f73075c99b5ba30e8d62dc5f13fdfb210d0fc506
Cr-Commit-Position: refs/heads/master@{#296311}

Committed: https://crrev.com/3fe4ceee750b2cd130bd402de3d371d8518c3eba
Cr-Commit-Position: refs/heads/master@{#296807}

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

Cr-Commit-Position: refs/heads/master@{#297308}
(cherry picked from commit 6b328f3db4b55fa299b6cfac9a30efbc47a2ad26)

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

Cr-Commit-Position: refs/branch-heads/2171@{#17}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
add UMA to record if a page has distilled data.

BUG=418190
TBR=kuan

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

Cr-Commit-Position: refs/heads/master@{#297100}
(cherry picked from commit 69231d048672856333da7d15ef6ce9afa59e3d0d)

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

Cr-Commit-Position: refs/branch-heads/2171@{#18}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Incrementing VERSION to 39.0.2171.7

Cr-Commit-Position: refs/branch-heads/2171@{#19}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Regenerate the long-lived test certificates to use SHA-256

BUG=401365
TBR=mattm

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

Cr-Commit-Position: refs/heads/master@{#297061}
(cherry picked from commit 80daaf71e46826d627cbf97fe28ce50ceb46a827)

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

Cr-Commit-Position: refs/branch-heads/2171@{#20}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Detect SHA-1 when it appears in certificate chains

BUG=401365
TBR=davidben

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

Cr-Commit-Position: refs/heads/master@{#297307}
(cherry picked from commit b92e6f5c2a5271850a39afa1254d41ccc34ec5e6)

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

Cr-Commit-Position: refs/branch-heads/2171@{#21}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Mark SHA-1 as deprecated

BUG=401365
TBR=davidben
Review URL: https://codereview.chromium.org/508823009

Cr-Commit-Position: refs/heads/master@{#297331}
(cherry picked from commit 4f80127285b5be9265ad96ce9b118e414107815a)

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

Cr-Commit-Position: refs/branch-heads/2171@{#22}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Create a cache file before mounting zip file.

Previusly JavaScript send a request to create a cache file before mounting zip
file, but the code was recently removed.  This CL adds lines to create a cache
to the API for mouting a zip file.

BUG=419285
TEST=repro steps on the bug
TBR=kinaba

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

Cr-Commit-Position: refs/heads/master@{#297622}
(cherry picked from commit cf841063b6b7cfbfb40945a75a72e592b3fe6169)

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

Cr-Commit-Position: refs/branch-heads/2171@{#23}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Add kEnableWebRtcHWVp8Encoding to GPU process.

VideoEncodeAccelerator::GetSupportedProfiles now runs in GPU
process because the profiles were added to GPUInfo. Add
kEnableWebRtcHWVp8Encoding to GPU process to fix the missing
encode profile.

BUG=418762
TEST=Run apprtc loopback and check the histogram.
TBR=posciak@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297445}
(cherry picked from commit ebd596bdd2b8ec66884d7f3a41a7f171cd11bf2c)

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

Cr-Commit-Position: refs/branch-heads/2171@{#24}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Don't report VAAPI failures for UMA for platforms that don't support it.

On startup, VaapiWrapper::GetSupportedEncodeProfiles is
called to query HW encoder capabilities to fill GpuInfo
with. On VM test however there is no libva present, so we
error out, but also attempt to report an error to UMA,
which blocks and the GPU process gets killed by the GPU
watchdog.

We don't need to report failures on GetSupportedEncodeProfiles
however, as we will report them later when we attempt
to encode anyway.

BUG=402182
TEST=test lumpy under kvm and check chrome is not blocked by
GetSupportedEncodeProfiles
TBR=posciak@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297564}
(cherry picked from commit 4505d0f3dc0bd9b96db7275f0ae33b7f841ebaf1)

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

Cr-Commit-Position: refs/branch-heads/2171@{#25}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Revert "UMA: How often are different network error screens encountered during OOBE"

This reverts commit f406302bb6e9ab6a533d3ac39c39b39705d7d422.

BUG=365354
TBR=rsorokin@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#26}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Merge "Fix ZoomController crash on kiosk launching."
>
> BUG=418214
>
> Review URL: https://codereview.chromium.org/609983002
>
> Cr-Commit-Position: refs/heads/master@{#297094}
> (cherry picked from commit 2a49d598998386086b0f542fae378fe91bd1904a)

TBR=xiyuan@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#27}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
[Merge] User Person/People instead of User/Users everywhere profile related.

Previously we were only doing this if the --new-avatar-menu was flipped.
This is a two-part CL. This CL removes the usages of the strings, but not
the strings themselves, since that involves some renaming and I'd like
to merge this to M39.

The CL that actually removes the unused strings is:
https://codereview.chromium.org/603023004/

XIB changes: use a different string ID for the profiles menu in the menu bar.
BUG=405988
TBR=noms@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297222}
(cherry picked from commit 7252caf5868751e1f9036484b5741e85a19318a9)

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

Cr-Commit-Position: refs/branch-heads/2171@{#28}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
[Merge] Remove unused User/Users strings from the profiles UI

The strings stopped being used in https://codereview.chromium.org/611033002/

XIB changes: use a different string ID for the profiles menu in the menu bar.

BUG=405988
TBR=noms@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297422}

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

Cr-Commit-Position: refs/branch-heads/2171@{#29}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
Merge to branch 2171 [Password Generation] Fix a bug where we always upload ACCOUNT_CREATION_PASSWORD

Update test to catch the problem. Previous test mocked out
bad behavior.

BUG=419228
R=isherman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297580}
(cherry picked from commit 44c5e4ebc358b6e804ae7af97fd240ca5682743f)

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

Cr-Commit-Position: refs/branch-heads/2171@{#30}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
When switching the visible uber frame, also switch focus.

BUG=414595
TBR=estade@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#297238}
(cherry picked from commit 5df63fb842aac0b01a62dd28e4e57473e92bc184)

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

Cr-Commit-Position: refs/branch-heads/2171@{#31}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}
MediaGalleriesCustomBindings: Ensure blobs aren't GC'd when getMetadata runs.

BUG=415792

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

Cr-Commit-Position: refs/heads/master@{#297444}
(cherry picked from commit ca5a56f98d44564885036e571b10562c61973771)

R=orenb@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2171@{#32}
Cr-Branched-From: 267aeeb8d85c8503a7fd12bd14654b8ea78d3974-refs/heads/master@{#297060}