Chromium Code Reviews| 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 7497ad3b5a94f3fe7e9ae4f15a620adde842f869..061b674fb11ef32bbb491d2b76e42c33563cf119 100644 |
| --- a/content/browser/indexed_db/indexed_db_backing_store.h |
| +++ b/content/browser/indexed_db/indexed_db_backing_store.h |
| @@ -28,6 +28,7 @@ namespace content { |
| class LevelDBComparator; |
| class LevelDBDatabase; |
| +struct IndexedDBValue; |
| class LevelDBFactory { |
| public: |
| @@ -126,13 +127,13 @@ class CONTENT_EXPORT IndexedDBBackingStore |
| int64 database_id, |
| int64 object_store_id, |
| const IndexedDBKey& key, |
| - std::string* record) WARN_UNUSED_RESULT; |
| + IndexedDBValue* record) WARN_UNUSED_RESULT; |
| virtual leveldb::Status PutRecord( |
| IndexedDBBackingStore::Transaction* transaction, |
| int64 database_id, |
| int64 object_store_id, |
| const IndexedDBKey& key, |
| - const std::string& value, |
| + IndexedDBValue& value, |
|
cmumford
2014/03/14 00:36:16
Did you intend to un-constify this param?
ericu
2014/03/14 01:17:23
It's mutable in the big CL so that the blob info c
|
| RecordIdentifier* record) WARN_UNUSED_RESULT; |
| virtual leveldb::Status ClearObjectStore( |
| IndexedDBBackingStore::Transaction* transaction, |
| @@ -235,7 +236,7 @@ class CONTENT_EXPORT IndexedDBBackingStore |
| virtual Cursor* Clone() = 0; |
| virtual const IndexedDBKey& primary_key() const; |
| - virtual std::string* value() = 0; |
| + virtual IndexedDBValue* value() = 0; |
| virtual const RecordIdentifier& record_identifier() const; |
| virtual bool LoadCurrentRow() = 0; |