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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store_unittest.cc

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_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index 0b8ecef0e27c2e9dd1792a37e3b7760b5be42296..108334b14f3ac35a72e660378b77475754549e35 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -382,7 +382,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistency) {
{
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
leveldb::Status s = backing_store_->PutRecord(
&transaction1, 1, 1, m_key1, &m_value1, &handles, &record);
@@ -414,7 +414,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistencyWithBlobs) {
{
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
@@ -499,7 +499,7 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRange) {
IndexedDBValue value3 = IndexedDBValue("value3", blob_info3);
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
@@ -589,7 +589,7 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRangeEmptyRange) {
IndexedDBValue value3 = IndexedDBValue("value3", blob_info3);
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
@@ -648,7 +648,7 @@ TEST_F(IndexedDBBackingStoreTest, LiveBlobJournal) {
{
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
1,
@@ -727,7 +727,7 @@ TEST_F(IndexedDBBackingStoreTest, HighIds) {
{
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
leveldb::Status s = backing_store_->PutRecord(&transaction1,
high_database_id,
@@ -816,7 +816,7 @@ TEST_F(IndexedDBBackingStoreTest, InvalidIds) {
IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
transaction1.Begin();
- ScopedVector<storage::BlobDataHandle> handles;
+ ScopedVector<storage::BlobDataSnapshotHandle> handles;
IndexedDBBackingStore::RecordIdentifier record;
leveldb::Status s = backing_store_->PutRecord(&transaction1,
database_id,

Powered by Google App Engine
This is Rietveld 408576698