[Telemetry] Refactor mac power monitoring to use the base PowerMonitor class.

R=jeremy@chromium.org,tonyg@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252042 0039d316-1c4b-4281-b951-d872f2087c98
Added support for additional popup-blocking policies on Android.

This platform also supports PopupsAllowedForUrls and PopupsBlockedForUrls.
If these policies are enabled on the template then they'll be loaded by the
cloud policy provider.

BUG=341493

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252043 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Use createDirectoryContents_ method during search.

Previously, during typing a search query on the drive, Files.app uses
DirectoryContents#createForDirectory method. It does not handle FakeEntries so
it causes an exception if a user typing a search query in the drive special
folders. This CL replace the method with createDirectoryContents_, which is
a caller of the createForDirectory method and can handle FakeEntries.

BUG=344459
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252044 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 252044
Consider the last_check time when doing update checks for components.

BUG=344938
R=waffles@chromium.org

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

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