| Index: Source/modules/indexeddb/IDBDatabase.cpp
|
| diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp
|
| index 89304214bbb60745849b9e7111c576a7d9148c7d..63232ab91e1502ecdf609d94296294bde7581824 100644
|
| --- a/Source/modules/indexeddb/IDBDatabase.cpp
|
| +++ b/Source/modules/indexeddb/IDBDatabase.cpp
|
| @@ -99,6 +99,19 @@ int64_t IDBDatabase::nextTransactionId()
|
| return atomicIncrement(¤tTransactionId);
|
| }
|
|
|
| +void IDBDatabase::ackReceivedBlobs(const Vector<blink::WebBlobInfo>* blobInfo)
|
| +{
|
| + ASSERT(blobInfo);
|
| + if (!blobInfo->size() || !m_backend)
|
| + return;
|
| + Vector<blink::WebBlobInfo>::const_iterator iter;
|
| + Vector<String> uuids;
|
| + uuids.reserveCapacity(blobInfo->size());
|
| + for (iter = blobInfo->begin(); iter != blobInfo->end(); ++iter)
|
| + uuids.append(iter->uuid());
|
| + m_backend->ackReceivedBlobs(uuids);
|
| +}
|
| +
|
| void IDBDatabase::indexCreated(int64_t objectStoreId, const IDBIndexMetadata& metadata)
|
| {
|
| IDBDatabaseMetadata::ObjectStoreMap::iterator it = m_metadata.objectStores.find(objectStoreId);
|
|
|