BrowsingDataRemover, (re)use StoragePartition deletion code.

This CL removes code duplication around storage partition related data removal code from BrowsingDataRemover and re-uses StoragePartition::ClearData* method. 

BUG=180118
Test=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233365 0039d316-1c4b-4281-b951-d872f2087c98
Data type conversion between extensions API and Cast API

Converts to and from Cast API types. Also fixed a couple issues to
match the API between Cast and Extensions API.

Cast Extensions API is now fully redirected to Cast native APIs. Minus
the conversion of MediaStreamTrack.

BUG=301920

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233366 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 233365
Decouple lifetime of database thread and WebDatabase, chromium side.

Add a method to WebDatabaseObserver to close a database without holding
on to an actual WebDatabase. This will make it possible to decouple the
lifetime of WebDatabase and the database thread.

BUG=249502
R=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233367 0039d316-1c4b-4281-b951-d872f2087c98
[MediaGalleries] iPhoto: Add original file field to the parser. Dedupe album names.

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

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