Trace event micro-optimization: create "toplevel" category.

Some traces show that MessageLoop::RunTask is a hotspot.
It eventually calls into GetCategoryGroupEnabledInternal.
By making "toplevel" a built-in category, it saves a few strcmp during RunTask.

BUG=

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

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

Remove threading from GpuVideoAcceleratorFactories

This change removes all the threading considerations from
GpuVideoAcceleratorFactories (and its implementation,
RendererGpuVideoAcceleratorFactories).  Most notably, it removes Abort() and
associated functions and state.  And with the removal of Abort() and friends,
we can also remove its Clone() interface.

All of the previously abortable operations on the RGVAF (with the exception of
ReadPixels()) can be made non-abortable, with no functional difference, due to
the way the users of RGVAF function.  These three users are
WebMediaPlayerImpl/GpuVideoDecoder, RTCVideoDecoder, and RTCVideoEncoder, and
they can be made non-abortable because:

WebMediaPlayerImpl/GpuVideoDecoder:
* Abort() is called from WebMediaPlayerImpl::Destroy().  It has no effect, as:
  * All the RGVAF entry points are called from the the RGVAF message loop
    from GpuVideoDecoder (except for ReadPixels()), so the Abort() has no
    effect on them.

RTCVideoDecoder:
* Abort() is called from RTCVideoDecoder::WillDestroyCurrentMessageLoop() for
  the RGVAF message loop.  It has no effect, as:
  * Amost all the RGVAF entry points are called from the RGVAF message loop
    (except for ReadPixels()), so Abort() has no effect on them.
  * The other exception is CreateVideoDecodeAccelerator(), which is called from
    RTC's main thread.  But as the Abort() is called from
    WillDestroyCurrentMessageLoop() for the RGVAF message loop itself, it is
    guaranteed to occur after any tasks posted to the RGVAF message loop by
    CreateVideoDecodeAccelerator() has completed, and so the Abort() has no
    effect.

RTCVideoEncoder:
* Abort() is called from RTCVideoDecoder::Release().  It has no effect, as:
  * All the RGVAF entry points are called from the RGVAF message loop.

The only functional difference remaining is that making ReadPixels()
non-abortable.  This is preferable, as as long as a completed video accelerator
texture is available, it should be readable.  We also specify that all calls to
ReadPixels must be made on the RGVAF message loop, like all other entry points,
and leave it up to the users of ReadPixels() to handle thread trampolining if
necessary.

This is a reland with one change after a revert of a revert of a revert of a
revert of a revert of r247480.  (WE NEED TO GO DEEPER)

BUG=306333
TEST=local build, run on CrOS snow; build, run unittests on desktop Linux
TBR=wuchengli@chromium.org, fischman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250672 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250671
Added --extended-response to put additional information into PTR responces.
Shortened service name.
Added AAAA response.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250673 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 166943:166948

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=166944:166948&mode=html
TBR=
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250675 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250675
Fix crashe in PrintJob if Stop() called twice.

BUG=342398

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250676 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250676
Update the SaveInfoBar for android to add a checkbox for enabling external auth.

BUG=341492

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250677 0039d316-1c4b-4281-b951-d872f2087c98
Move Did(Start|Stop)Loading from RenderView to RenderFrame.

Those two events are page-level, so they are only dispatched to the top-level RenderFrame and delivered to WebContents. The only change this CL brings is routing of the IPC to move from RenderView to RenderFrame.

BUG=304341

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250678 0039d316-1c4b-4281-b951-d872f2087c98
Sets options menu font to roboto.

BUG=332073

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250679 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250679
Fix error when enable_app_list is undefined

TBR=aurimas
BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250680 0039d316-1c4b-4281-b951-d872f2087c98
Reduce cost of glBind* on contexts without bind_generates_resource.

Contexts without bind_generates_resource utilize StrictIdHandler.
Binding ungenerated Ids is an error on StrictIdHandler, but there
were still calls made to IdAllocator::MarkAsUsed, which has the
overhead of taking a lock and doing a std::map lookup.

- Changed to generate GL error on service side instead of DCHECK
  on client side.
- StrictIdHandler::MarkAsUsedForBind becomes no-op.
- Merged lock functionality of ThreadSafeIdHandlerWrapper up into
  the base handlers to reduce indirection and use finer grained
  locking.
- Removed unused SharedIdHandler class.

BUG=244968

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250681 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250680
Expose an IsSandboxed() export on chrome.exe.

BUG=329023

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250682 0039d316-1c4b-4281-b951-d872f2087c98
Enable mac driver bug workaround init_varyings_without_static_use.

BUG=322760
TEST=webgl conformance tests
R=kbr@chromium.org,bajones@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250683 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250683
Reland of allowing netsim to work without sudo.

Revert "Revert of [Telemetry] Fix typo in https port number. (https://codereview.chromium.org/147303003/)"

This reverts commit f48aabf5c95e0e956c1de77680b1ff158b6ad495.

Revert "Revert of [Telemetry] Create ForwarderFactory earlier on CrOS. (https://codereview.chromium.org/144283006/)"

This reverts commit edef1c25eb44529879f759b46719bfed1fdfe4ff.

Revert "Revert of [Telemetry] Allow --netsim to work without running WPR with sudo (https://codereview.chromium.org/134863005/)"

This reverts commit 34b0d296a39c131a6d21e86472ac3abc2a241768.

BUG=
TBR=tengs@chromium.org,craigdh@chromium.org

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

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