More Chromium Blob hacking to switch from bloburls to blobuuids.
This cr patch is needed prior to continuing work over on the blnk side. One of many in multi-side-patch-tango.
This change introduces a compile time flag, USE_BLOB_UUIDS, to switch over to the new model. The old and new style of identifying these things are currently in place at the webkit api level. This flag tells chromium which to use. Blink is currently still using the old style urls and USE_BLOB_UUIDS is not defined. The flag will be set in the Blink patch that switches it over (it will be defined in WebBlobData.h).
There is one blob use case (feedback extension api) up in /chrome that is handled a little differently. Instead of the compile time flag, it relies on a runtime check due to layering/deps rules. There is nothing in the contentAPI about blobs yet and that consumer relies on reading the blob data by urlfetching given only the internalurl/uuid.
Also in this change are some minor cleanup to better indicate when we're working with a FileSystemUrl in particular.
TBR=kalman
BUG=174200
Review URL: https://chromiumcodereview.appspot.com/23898006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224906 0039d316-1c4b-4281-b951-d872f2087c98
14 files changed