Adding number of users to ChromeOS crash record

BUG=330217
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245408 0039d316-1c4b-4281-b951-d872f2087c98
win: Find and use toolchain installed by depot_tools

The toolchain directory inside depot_tools will only exist if
"set DEPOT_TOOLS_WIN_TOOLCHAIN=1" so this is currently a no-op.

It will break the "dogfood" of 'GYP_MSVS_USE_SYSTEM_TOOLCHAIN'
now renamed per above, but I think only a few people tested
that (cc'd here).

R=dpranke@chromium.org
BUG=323300, 326357

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245412 0039d316-1c4b-4281-b951-d872f2087c98
Add plumbing and support for crossfading StreamParserBuffers.

Per the MSE specification adds a fade-out section to StreamParserBuffer
which will contain buffers for crossfading.

Modifies SourceBufferStream::GetNextBuffer() to properly return these
buffers with a config change in between the fade out and fade in
sections.

BUG=334493
TEST=New unittests.
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245413 0039d316-1c4b-4281-b951-d872f2087c98
Reenable linux_aura on the main builders.

We fixed the browser test slowdown that lead to linux_aura being
disabled in r235280. (Different test suites are faster or slower, but
overall, tests run faster.)

We are turning this on primarily to get perf data; if things look
acceptable, we hope to cut a dev channel this week.

BUG=319075,125106,303342,318961
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245415 0039d316-1c4b-4281-b951-d872f2087c98
Refactor base/safe_numerics.h

* Move into base/numerics subdirectory.
* Rename files for clarity.
* Add owners.
* Rename checked_numeric_cast to checked_cast.
* Fixup callsites and include paths.

BUG=332611
R=brettw@chromium.org, jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245418 0039d316-1c4b-4281-b951-d872f2087c98
Fix mac build breakage on r245418

TBR=bbudge@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245419 0039d316-1c4b-4281-b951-d872f2087c98
linux_aura: Attempt to green the official builder by reverting unwind support.

This effectively reverts in r243919 and r244331 in a desperate attempt
to fix the tree.

Build fail output:

FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/rpm.build.XtJRbJ'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/rpm.build.t4jNp4'...
eu-strip: while computing checksum for debug information: Invalid argument
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
Staging common install files in '/tmp/deb.build.CxnH9l'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.9Zyie1'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
Staging common install files in '/tmp/deb.build.xUB39X'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/rpm.build.aN0PGV'...
eu-strip: while computing checksum for debug information: Invalid argument
../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
ninja: build stopped: subcommand failed.

BUG=180975
TBR=spang@chromium.org, stip@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245423 0039d316-1c4b-4281-b951-d872f2087c98
Revert of linux_aura: Attempt to green the official builder by reverting unwind support. (https://codereview.chromium.org/141013009/)

Reason for revert:
Didn't actually help with the build failures on Google Chrome Linux.

Original issue's description:
> linux_aura: Attempt to green the official builder by reverting unwind support.
> 
> This effectively reverts in r243919 and r244331 in a desperate attempt
> to fix the tree.
> 
> Build fail output:
> 
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/rpm.build.XtJRbJ'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/rpm.build.t4jNp4'...
> eu-strip: while computing checksum for debug information: Invalid argument
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c unstable
> Staging common install files in '/tmp/deb.build.CxnH9l'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/deb.build.9Zyie1'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c beta
> Staging common install files in '/tmp/deb.build.xUB39X'...
> eu-strip: while computing checksum for debug information: Invalid argument
> Cleaning...
> FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/rpm/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
> Staging common install files in '/tmp/rpm.build.aN0PGV'...
> eu-strip: while computing checksum for debug information: Invalid argument
> ../out/Release/chrome, section '.eh_frame': the call frame entry at offset 0x18 uses a DWARF expression to describe how to recover register '.cfa',  but this translator cannot yet translate DWARF expressions to Breakpad postfix expressions
> ninja: build stopped: subcommand failed.
> 
> BUG=180975
> TBR=spang@chromium.org, stip@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245421

TBR=spang@chromium.org,stip@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=180975

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245428 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Reenable linux_aura on the main builders. (https://codereview.chromium.org/136813004/)

Reason for revert:
Failed due to mysterious failures on the Google Chrome Linux bot.

Example:
FAILED: cd ../../chrome; flock -- /tmp/linux_package_lock bash ../out/Release/installer/debian/build.sh -o../out/Release -b ../out/Release -a ia32 -c stable
Staging common install files in '/tmp/deb.build.AEvway'...
eu-strip: while computing checksum for debug information: Invalid argument
Cleaning...

BUG=335451

Original issue's description:
> Reenable linux_aura on the main builders.
> 
> We fixed the browser test slowdown that lead to linux_aura being
> disabled in r235280. (Different test suites are faster or slower, but
> overall, tests run faster.)
> 
> We are turning this on primarily to get perf data; if things look
> acceptable, we hope to cut a dev channel this week.
> 
> BUG=319075,125106,303342,318961
> NOTRY=True
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245415

TBR=
NOTREECHECKS=true
NOTRY=true
BUG=319075,125106,303342,318961

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245429 0039d316-1c4b-4281-b951-d872f2087c98
[webcrypto] Add RSASSA-PKCS1-v1_5 sign and verify for NSS.

BUG=245025
TEST=content_unittests --gtest_filter="WebCryptoImpl*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245430 0039d316-1c4b-4281-b951-d872f2087c98
Add RGB565 Texture readback support in gl_helper

Plan is to add a RGB565 readback and copy conversion for RGBA8 to RGB565 in GLHelper.

BUG=323150

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245431 0039d316-1c4b-4281-b951-d872f2087c98
[chromedriver] Add an error autoreporting feature that automatically raises errors from browser logs

BUG=chromedriver:543

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245432 0039d316-1c4b-4281-b951-d872f2087c98
Linux Aura: Added --use-system-title-bar flag.

This flag makes browser windows use the system window dressing and title
bar, instead of the custom frame. This is a Linux Aura equivalent of the
"Use System Title Bar and Border" preference in Linux GTK. (Eventually,
this part will be controlled by the same preference, rather than this
flag.)

With this flag, browser windows use the native system window decoration,
with our custom close/minimize/maximize buttons removed, and the tab
strip being condensed vertically with square corners (like the maximized
tab strip).  Popup browser windows (including V1 apps and the Developer
Tools window) drop the blue custom frame altogether in favour of the
native frame.

BUG=317859
TEST=With --use-system-title-bar, open a browser window. Both maximized
and restored windows should have a system native title bar, and the tab
strip should be compacted into a single row (as when maximized).
TEST=With --use-system-title-bar, open a hosted app window. It should
have a system native title bar, with no second blue title bar.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245433 0039d316-1c4b-4281-b951-d872f2087c98
Add country combobox to change country and rebuild address inputs.

R=estade@chromium.org
BUG=331544

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245434 0039d316-1c4b-4281-b951-d872f2087c98
Avoids updating dock alignment when drag is cancelled

BUG=334313
TEST=ash_unittests --gtest_filter=*RevertDockedDragRevertsAttachment*
TEST=Manual on Chromebook

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245435 0039d316-1c4b-4281-b951-d872f2087c98
Disable context menu on signin page in the embedded flow

When chrome signin page is embedded in the avatar bubble, context menu should be disabled, because the only option 'inspect element' would open a debugger window, which then immediately disappears since the avatar bubble auto closes when it loses focus.

BUG=313272

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245436 0039d316-1c4b-4281-b951-d872f2087c98
Fix host STUN. Use talk_base::AsyncResolver.

StunRequest requires the AsyncResolver object produced by the configured
SocketFactory to resolve the address of the STUN server before it can
send the STUN requests. ChromiumSocketFactory currently produces
DummyAsyncResolver, which doesn't do any resolving.

The fix is to provide Libjingle's talk_base::AsyncResolver.

BUG=333958

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245437 0039d316-1c4b-4281-b951-d872f2087c98
Add cc:DrawQuad type for surfaces

This quad type just carries a surface ID to be resolved later. A quad of this type will always be replaced by the quads it represents (if any) before being passed to a cc:DirectRenderer for drawing.

BUG=334090

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245438 0039d316-1c4b-4281-b951-d872f2087c98
Make per-file message file reviewers consistent across owners.

TBR=darin@chromium.org,isherman@chromium.org,thakis@chromium.org,jam@chromium.org

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

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