Only allow webrtc HW offload for H264 encode for extension process.

Add cmdline switch::kEnableWebRtcHWH264Encoding to control whether
to report WebRtc HW H264 encoding capability.

BUG=385941
R=xiyuan@chromium.org,kalman@chromium.org,posicak@chromium.org,jamesr@chromium.org
TBR=piman@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#292028}
(cherry picked from commit 44954d45ef230efdaa323a0e192caad55aac42a2)

Support for H264 HW offload for webRTC.

RTC video encoder and decoder now recognize H264 as a supported webrtc codec type.

For H264 encoder we are required to parse NALU information to correctly populate the RTP fragmentation header.

BUG=360262
TEST=trybot, manual testing see bug report
R=dalecurtis@chromium.org, posciak@chromium.org, wuchengli@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291466}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291466 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 268ac1aa539024aad8aba7ee44fef6195527b3af)

Fix compiling errors on v4l2_video_decode_accelerator.cc.

It was introduced by http://codereview.chromium.org/426873004/

BUG=406160
TEST=Run the VDA_Unittest on ARM CrOS device

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

Cr-Commit-Position: refs/heads/master@{#291372}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291372 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit e0a60ad2349c4eaded82a47cb5e6b06dbeb77177)

Pass decoded picture size from VDA to client

Some of the VDAs, like DXVA and AVDA, don't distinguish
between visible size and coded size. And given GVD is always
been used with container, we should keep using size from
config in GVD.

BUG=390048
TEST=Manually tested: flash player using youtube. html5
player with resolution 1280x720 and 1216x684, h264 and vp8.
apprtc with resolution 640x480 and 636x476. All tests are
performed on both daisy and link.
R=hshi@chromium.org, posciak@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291187}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291187 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 72de2f772735c0ffbe7b30c9887b6796ab50bb89)

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

Cr-Commit-Position: refs/branch-heads/2125@{#117}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
[Merge] Fix KDE Wallet backward compatibility when (de)serializing FormData.

The problem was introduced by https://codereview.chromium.org/365783002

BUG=404615
Review URL: https://codereview.chromium.org/443873011

Cr-Commit-Position: refs/heads/master@{#290677}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290677 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit aa483d89f1145d5b227a67f3637c9e2a60003a1f)

TBR=isherman@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#118}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
[Merge] Update Easy Unlock manifest to support querying device information during CryptAuth enrollment.

BUG=404744
TEST=manual
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#291523}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291523 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit a0bba80872074beb7f6098d7a2cc69f30c23ef6a)

TBR=tengs@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#119}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
[EasyUnlock] Add a private API for establishing an insecure Bluetooth connection.

This is needed to avoid a pairing request prompt when connecting to a service on
a system that tries to upgrade the connection from general bonding to general
bonding with MITM protection, which according to Android and ChromeOS Bluetooth
experts is the correct behavior.

BUG=403069
TEST=chrome.easyUnlockPrivate.connectToBluetoothServiceInsecurely() should work
     just like chrome.bluetoothSocket.connect(), but not show a pairing request
     prompt when pairing with Android L.
R=tengs@chromium.org, keybuk@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291353}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291353 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 0c4d0683455edb72d7f4352745e3d7472a7d0332)

TBR=isherman@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#120}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.27

Cr-Commit-Position: refs/branch-heads/2125@{#121}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
List of users admitted for multi-profile should include user with NOT_ALLOWED_PRIMARY_POLICY_CERT_TAINTED

Value NOT_ALLOWED_PRIMARY_POLICY_CERT_TAINTED was not check in the list of know
problem when user cannot be added to the session. To avoid this types of errors
removed list complete because the only vale that checked separate NOT_ALLOWED_PRIMARY_USER_POLICY_FORBIDS.

BUG=406278
TEST=manual

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

Cr-Commit-Position: refs/heads/master@{#291892}
(cherry picked from commit 32892ca2391813d23e5738c7cabdce209ffdcc0b)

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

Cr-Commit-Position: refs/branch-heads/2125@{#122}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Gallery: Disable name input when the selection is empty.

BUG=405820
TEST=manually
TBR=yoshiki@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291020}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291020 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 6dd17f1f92dc1baafa8db1a554c68d6e9baf76cc)

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

Cr-Commit-Position: refs/branch-heads/2125@{#123}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Fix reload of a tab that crashed in background.

This patch fixes a trivial mistake that made the fix in
https://codereview.chromium.org/459613007 a noop, and adds a regression
unit-test.

BUG=401859
TBR=aelias@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291765}
(cherry picked from commit 7017a81991de983e12ab50dfc071c70e06979531)

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

Cr-Commit-Position: refs/branch-heads/2125@{#124}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.28

Cr-Commit-Position: refs/branch-heads/2125@{#125}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
cc: Don't infinitely throttle large raster tasks

Previously, if a raster task had a resource size that was larger than
the throttling limit for the raster worker, that task would never get
scheduled.  This leads to starvation for that task, preventing tree
activation, and causing freezes.

The fix is to always allow such large tasks if it is the first task.

TBR=reveman@chromium.org
BUG=403446

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

Cr-Commit-Position: refs/heads/master@{#291484}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291484 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 604e202d3548b701900c3771f9517103bb91486c)

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

Cr-Commit-Position: refs/branch-heads/2125@{#126}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Revert "cc: Don't infinitely throttle large raster tasks"

This reverts commit c8dd0df82df90a258440bb83c2de7e2bd5dbffb0.

TBR=reveman@chromium.org
BUG=403446

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

Cr-Commit-Position: refs/branch-heads/2125@{#127}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Marge: Easy Unlock: Add support for hard locking

When user clicks on the easy-unlock icon on "Click to enter" lock screen
(i.e. when lock screen auth type is USER_CLICK), the lock screen changes to
state in which password is required to unlock the screen.
This adds new auth state FORCE_OFFLINE_PASSWORD which, unlike OFFLINE_PASSWORD,
can't be changed to any other.

BUG=397363
TBR=asargent@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#290096}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290096 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit e627fd19aa5cae70e4c501261859b0971add72d6)

TBR=tbarzic@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#128}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.29

Cr-Commit-Position: refs/branch-heads/2125@{#129}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.30

Cr-Commit-Position: refs/branch-heads/2125@{#130}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Merge: Fix few minor easy unlock bugs

This fixes:
Tooltip for NO_BLUETOOTH state has '$1' instead of Chromebook
Adds PHONE_UNSUPPORTED state
Clears screenlock state when Easy Unlock gets turned off

BUG=403831,404775

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

Cr-Commit-Position: refs/heads/master@{#290681}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290681 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit 6152f8be7e51b7869c40e70c5dc722f14b749c16)

TBR=tbarzic@chromium.org

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

Cr-Commit-Position: refs/branch-heads/2125@{#131}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.31

Cr-Commit-Position: refs/branch-heads/2125@{#132}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.32

Cr-Commit-Position: refs/branch-heads/2125@{#133}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
GetHelp: Release manifest.json for M38-rc2

BUG=chromium:404093

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

Cr-Commit-Position: refs/heads/master@{#291665}
(cherry picked from commit 33cfc528e1ae82f4165d7b516e5dc5977aff9a58)

Revert of HelpApp cut at M38: manifest.json (patchset #3 of https://codereview.chromium.org/474223002/)

Reason for revert:
According to Dmitry, we should not use persistent background page.

Original issue's description:
> HelpApp cut at M38: manifest.json
>
> BUG=chromium:404093
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290245

R=cylee@chromium.org
TBR=cnwan@google.com, dpolukhin@chromium.org, dpolukhin@google.com, nkostylev@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=chromium:404093

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

Cr-Commit-Position: refs/heads/master@{#290524}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290524 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit ee58e808773cf24b09c1477c318a2a4d7215a011)

HelpApp cut at M38: manifest.json

BUG=chromium:404093

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

Cr-Commit-Position: refs/heads/master@{#290245}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290245 0039d316-1c4b-4281-b951-d872f2087c98
(cherry picked from commit ae81b6d383e0770e0cce6facf314971eed09059b)

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

Cr-Commit-Position: refs/branch-heads/2125@{#134}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
HelpApp: Release manifest.json for M38-rc2

BUG=chromium:404093

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

Cr-Commit-Position: refs/heads/master@{#291666}
(cherry picked from commit 029d24a9380eb6a60b92e5f5077d19eaa8559b9f)

R=cnwan@google.com

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

Cr-Commit-Position: refs/branch-heads/2125@{#135}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}
Incrementing VERSION to 38.0.2125.33

Cr-Commit-Position: refs/branch-heads/2125@{#136}
Cr-Branched-From: b68026d94bda36dd106a3d91a098719f952a9477-refs/heads/master@{#290040}