Fix a ComponentLoader error at chrome startup.

ComponentLoader was trying to load the Virtual Keyboard even when the resources
were not loaded.  Ensure this doesn't happen, so we don't throw an error.

BUG=342055

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250581 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250581
Optimize CommandBufferHelper::GetSpace().

Previously GetSpace() did various calls:
- usable() - Check if buffer is usable.
- AllocateRingBuffer() - Allocate buffer if not already allocated.
- WaitForAvailableEntries() - Yet more checks.

This change shortcuts most calls, reducing to checks on
immediate_entry_count_ and commands_issued_ only, maintaining the old
behavior in terms of internal flushing.

immediate_entry_count_ is 0 if the buffer is unusable or unallocated,
otherwise is limited to min(immediate free space, force flush limit).

commands_issued_ is counted on non-Android platforms, and checks for
force flush condition every kCommandsPerFlushCheck commands.

BUG=340362

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250582 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250582
[sql] Prevent nCells overrun decoding cell in recover.c.

leafCursorCellDecode() correctly guards against the meta-data of the
current cell overflowing the page size, but did not protect against
overflow while decoding the meta-data for other cells when checking for
cell overlap.

BUG=338772

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250583 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250583
Fix interactive_ui_tests dependency on xtst

chrome/browser/extensions/extension_commands_global_registry_apitest.cc,
which is linked into interactive_ui_tests, uses some functions from libXtst
and thus should declare a dependency on xtst. The only other file that uses
the XTest.h header is in remoting, which declares an xtst dependency already.
This lets us drop the dependency from glib on xtst since most targets don't need
it.

R=phajdan.jr
BUG=339518

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250585 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1836.0 to 1837.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250586 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250586
CertVerifer should be destroyed AFTER SSLClientSocket.

BUG=342603

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250588 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250588
Remove ExtensionService::disabled_extensions()

Replace usage with ExtensionRegistry::disabled_extensions().
Opportunistically, any nearby references to ExtensionService::extensions()
have also been shifted over to ExtensionRegistry::enabled_extensions().

BUG=332978

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250590 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250590
Move DidCommitProvisionalLoad code from RenderView to RenderFrame.

Another attempt at landing this. Original CL is https://codereview.chromium.org/135723003/ and patchset 1 is identical to it.

BUG=304341

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250591 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250591
Revert 250209 "Don't send VSync parameters to the host on Mac."

> Don't send VSync parameters to the host on Mac.
> 
> This was broken for a long time, and it looks like fixing it might have
> cause some performance regressions. This is to test if that's the case.
> 
> If this does not fix the performance issues, I will remove the display
> link entirely. If that does not fix the issue, then this is a misattribution.
> 
> If this does fix the issue, then we'll need to discuss how vsync impacts
> compositor performance, and the validity of the previous baselines.
> 
> BUG=341811
> TBR=kbr@chromium.org
> 
> Review URL: https://codereview.chromium.org/156533005

TBR=ccameron@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250592 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250592
kiosk: Use account id for kiosk app user display email.

BUG=342877

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250596 0039d316-1c4b-4281-b951-d872f2087c98
Add GCM registration status code metric collection.

BUG=284553

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250597 0039d316-1c4b-4281-b951-d872f2087c98
Widen the suppression for the leak in nssTrustDomain_UpdateCachedTokenCerts.

This leak is entirely in nssTrustDomain_UpdateCachedTokenCerts, regardless
of the caller.

R=rtenneti@chromium.org
BUG=321976
TEST=none
NOTRY=true

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

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