Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: memory leak fixed Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_backing_store.h b/content/browser/indexed_db/indexed_db_backing_store.h
index 80be291b7fb1f3baf0915989ac5ebd3e702f4ab2..0c528463ece002d53c5387ce3f736f2c70c3c7b7 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -105,14 +105,14 @@ class CONTENT_EXPORT IndexedDBBackingStore
const std::vector<IndexedDBBlobInfo>& blob_info() const {
return blob_info_;
}
- void SetHandles(ScopedVector<storage::BlobDataHandle>* handles);
+ void SetHandles(ScopedVector<storage::BlobDataSnapshotHandle>* handles);
scoped_ptr<BlobChangeRecord> Clone() const;
private:
std::string key_;
int64 object_store_id_;
std::vector<IndexedDBBlobInfo> blob_info_;
- ScopedVector<storage::BlobDataHandle> handles_;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles_;
DISALLOW_COPY_AND_ASSIGN(BlobChangeRecord);
};
typedef std::map<std::string, BlobChangeRecord*> BlobChangeMap;
@@ -137,12 +137,12 @@ class CONTENT_EXPORT IndexedDBBackingStore
int64 object_store_id,
const std::string& object_store_data_key,
std::vector<IndexedDBBlobInfo>*,
- ScopedVector<storage::BlobDataHandle>* handles);
+ ScopedVector<storage::BlobDataSnapshotHandle>* handles);
void PutBlobInfo(int64 database_id,
int64 object_store_id,
const std::string& object_store_data_key,
std::vector<IndexedDBBlobInfo>*,
- ScopedVector<storage::BlobDataHandle>* handles);
+ ScopedVector<storage::BlobDataSnapshotHandle>* handles);
LevelDBTransaction* transaction() { return transaction_.get(); }
@@ -395,7 +395,7 @@ class CONTENT_EXPORT IndexedDBBackingStore
int64 object_store_id,
const IndexedDBKey& key,
IndexedDBValue* value,
- ScopedVector<storage::BlobDataHandle>* handles,
+ ScopedVector<storage::BlobDataSnapshotHandle>* handles,
RecordIdentifier* record) WARN_UNUSED_RESULT;
virtual leveldb::Status ClearObjectStore(
IndexedDBBackingStore::Transaction* transaction,

Powered by Google App Engine
This is Rietveld 408576698