Added a new overload of gfx::Image::CreateFrom1xPNGBytes

... that accepts a RefCountedMemory. This saves some buffer copying in
many places, specially welcome with big images.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243492 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 243492
Convert video capture pipline to base::TimeTicks

base::TimeTicks is a monotonic clock, unlike base::Time, which may change if
the system time is changed.  Switch over the video capture pipeline to use this
clock.

BUG=249215
TEST=local build, run on CrOS snow, desktop Linux

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243493 0039d316-1c4b-4281-b951-d872f2087c98
[Import] [OSX] Don't create an empty folder when importing from Safari with an empty Bookmarks Menu.

Also moves test files around:
  (1) The data previously in chrome/test/data/safari_import/ was moved to chrome/test/data/import/safari/default/.
  (2) A new test data directory was created at chrome/test/data/import/safari/empty_bookmarks_menu/.

BUG=248431
TEST=unit_tests
R=jeremy@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243494 0039d316-1c4b-4281-b951-d872f2087c98
Disk Cache: Use the old WorkerPool for Async IO on iOS.

This basically reverts r222408 for iOS

BUG=330074
TEST=net_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243495 0039d316-1c4b-4281-b951-d872f2087c98
drive: Stop comparing resource ID against kDriveGrandRootLocalId

Add local_id to DirectoryFetchInfo.
After this change, there is no need to set dummy resource ID for the grand root.

BUG=324719
TEST=unit_tests

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

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