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

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

Issue 2255853003: IndexedDB: ScopedVector<T> -> vector<unique_ptr<T>> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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_fake_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.h b/content/browser/indexed_db/indexed_db_fake_backing_store.h
index 5ace0febcf02186f289b729b5e0301c6125d9cca..70be7dc681fc44516018a67426717c939a4ce125 100644
--- a/content/browser/indexed_db/indexed_db_fake_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
@@ -48,13 +49,14 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
int64_t database_id,
int64_t object_store_id) override;
- leveldb::Status PutRecord(IndexedDBBackingStore::Transaction* transaction,
- int64_t database_id,
- int64_t object_store_id,
- const IndexedDBKey& key,
- IndexedDBValue* value,
- ScopedVector<storage::BlobDataHandle>* handles,
- RecordIdentifier* record) override;
+ leveldb::Status PutRecord(
+ IndexedDBBackingStore::Transaction* transaction,
+ int64_t database_id,
+ int64_t object_store_id,
+ const IndexedDBKey& key,
+ IndexedDBValue* value,
+ std::vector<std::unique_ptr<storage::BlobDataHandle>>* handles,
+ RecordIdentifier* record) override;
leveldb::Status ClearObjectStore(Transaction*,
int64_t database_id,

Powered by Google App Engine
This is Rietveld 408576698