Move ManagePasswordsBubbleController knowledge out of PasswordManager.

This CL changes the flow between PasswordManager and PasswordManagerDelegate so
that PasswordManager is not directly responsible for showing the bubble. It
also renames the methods related to showing the password save infobar to be
more generic.

BUG=335116

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249395 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249395
Revert Linux parts of r249384: "Pull GN r249300"

It seems to have broken the AOSP bots by un-reverting r248986, and it doesn't
look like the underlying issue has been fixed since.

TBR=brettw@chromium.org
BUG=none
NOTRY=TRUE
NOTREECHECKS=TRUE

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249396 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249396
Move CancelableTaskTracker to //base/task/CancelableTaskTracker.

CancelableTaskTracker is used by //chrome code that is due to componentized.
This CL moves the class to //base/task and wraps it in the ::base::task namespace.

BUG=335135
TBR=thakis

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249397 0039d316-1c4b-4281-b951-d872f2087c98
Back CAOpenGLLayers by CGL contexts instead of NSGL contexts

Change CompositingIOSurfaceContext to have a separate path
for creating a CGLContextObj directly, rather than creating a
NSOpenGLContext and using its CGLContextObj. Add asserts
to prevent trying to grab the NSOpenGLContext when using
CoreAnimation.

Change the CAOpenGLLayer to create the CGLContextObj at
creation, and pass a retained pointer to it and its pixel format
when requested, and allow the superclass to handle the release
of the pixel format and context. This matches the behavior in
WebKit.

Change DisplayLinkMac to call CVDisplayLinkRelease instead
of CFRelease because here is no documentation that CFRelease
may be used with a CVDisplayLink.

BUG=245900

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249398 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249398
Remove line that crashes image_decoding.tough_decoding_cases

image_decoding.py was calling PageMeasurementResults.Add with a value
of the wrong type (a string instead of a scalar type). This was
crashing when the type was checked.

Note: I am not sure why this path is being followed in 
this test, but the code on this path was clearly broken.

NOTRY=true
TBR=tonyg@chromium.org
BUG=338813

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249399 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249399
[Android] Pass WebInputEvent by const ref when creating LatencyInfo

A raw WebInputEvent should never be constructed, as it's an abstract base
class masquerading as a POD struct.  Use a const ref WebInputEvent arg
to prevent this.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249400 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249400
Cleanup time_format.cc, mostly cosmetic, one minor fix

This is a follow-up to the TimeRemainingShort() --> TimeDurationShort()
rename.  It renames some internal variables to match the new publicly
visible function name and consistently orders all occurrences of the
different time formats.  That way, a missing case in one of the switch
statements was found and corrected.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249401 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249401
Fix import error in mac_platform_backend.py

The import of telemetry.core.util was hiding ctype.util. Fix this
by using ctype.util explicitly

TBR=tonyg@chromium.org
NOTRY=true
BUG=341446

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249402 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 249402
Remove StorageMonitor dependency on BrowserProcess

This is first step of making StorageMonitor a component. Previously, the
StorageMonitor was handing over the ownership of the StorageMonitor singleton
to the BrowserProcess object. Now the singleton lives in a StorageMonitor global
but has methods for controlling it's lifecycle externally.

R=joi@chromium.org,thestig@chromium.org
BUG=
Make storage_monitor a component

Move storage_monitor to the components directory and:

- Make the unit tests part of the components unit tests.
- Update the include headers for both chrome and storage_monitor code.
- Update the buildsystem dependencies and paths.
- Update the DEPS files for both chrome and storage_monitor with the new
restrictions.

R=joi@chromium.org,thestig@chromium.org
BUG=
Fix the include guards
Update the buildsystem
Update the include headers for chrome