| Index: content/common/fileapi/webblobregistry_impl.cc
|
| diff --git a/content/common/fileapi/webblobregistry_impl.cc b/content/common/fileapi/webblobregistry_impl.cc
|
| index ba13a56a4ad3e12e8d7ce7d77d07ad959060bb24..d5618022c4af1e43b98dd30eed8a624845b54e0a 100644
|
| --- a/content/common/fileapi/webblobregistry_impl.cc
|
| +++ b/content/common/fileapi/webblobregistry_impl.cc
|
| @@ -84,6 +84,18 @@ void WebBlobRegistryImpl::registerBlobURL(
|
| child_thread_->Send(new BlobHostMsg_AppendBlobDataItem(url, item));
|
| }
|
| break;
|
| + case WebBlobData::Item::TypeURL:
|
| + if (data_item.length) {
|
| + // We only support filesystem URL as of now.
|
| + DCHECK(GURL(data_item.url).SchemeIsFileSystem());
|
| + item.SetToFileSystemUrlRange(
|
| + data_item.url,
|
| + static_cast<uint64>(data_item.offset),
|
| + static_cast<uint64>(data_item.length),
|
| + base::Time::FromDoubleT(data_item.expectedModificationTime));
|
| + child_thread_->Send(new BlobHostMsg_AppendBlobDataItem(url, item));
|
| + }
|
| + break;
|
| default:
|
| NOTREACHED();
|
| }
|
|
|