| Index: content/browser/indexed_db/indexed_db_database.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
|
| index 83fc7e6075e2f62c5adfc5b652b01d41840f2365..0debe7faaacf396a228674bf49370668ba3d26ac 100644
|
| --- a/content/browser/indexed_db/indexed_db_database.cc
|
| +++ b/content/browser/indexed_db/indexed_db_database.cc
|
| @@ -19,6 +19,7 @@
|
| #include "content/browser/indexed_db/indexed_db_index_writer.h"
|
| #include "content/browser/indexed_db/indexed_db_tracing.h"
|
| #include "content/browser/indexed_db/indexed_db_transaction.h"
|
| +#include "content/browser/indexed_db/indexed_db_value.h"
|
| #include "content/common/indexed_db/indexed_db_key_path.h"
|
| #include "content/common/indexed_db/indexed_db_key_range.h"
|
| #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
|
| @@ -574,7 +575,7 @@ void IndexedDBDatabase::GetOperation(
|
| leveldb::Status s;
|
| if (index_id == IndexedDBIndexMetadata::kInvalidId) {
|
| // Object Store Retrieval Operation
|
| - std::string value;
|
| + IndexedDBValue value;
|
| s = backing_store_->GetRecord(transaction->BackingStoreTransaction(),
|
| id(),
|
| object_store_id,
|
| @@ -627,7 +628,7 @@ void IndexedDBDatabase::GetOperation(
|
| }
|
|
|
| // Index Referenced Value Retrieval Operation
|
| - std::string value;
|
| + IndexedDBValue value;
|
| s = backing_store_->GetRecord(transaction->BackingStoreTransaction(),
|
| id(),
|
| object_store_id,
|
| @@ -693,7 +694,7 @@ static leveldb::Status UpdateKeyGenerator(IndexedDBBackingStore* backing_store,
|
| struct IndexedDBDatabase::PutOperationParams {
|
| PutOperationParams() {}
|
| int64 object_store_id;
|
| - std::string value;
|
| + IndexedDBValue value;
|
| scoped_ptr<IndexedDBKey> key;
|
| IndexedDBDatabase::PutMode put_mode;
|
| scoped_refptr<IndexedDBCallbacks> callbacks;
|
| @@ -705,7 +706,7 @@ struct IndexedDBDatabase::PutOperationParams {
|
|
|
| void IndexedDBDatabase::Put(int64 transaction_id,
|
| int64 object_store_id,
|
| - std::string* value,
|
| + IndexedDBValue* value,
|
| scoped_ptr<IndexedDBKey> key,
|
| PutMode put_mode,
|
| scoped_refptr<IndexedDBCallbacks> callbacks,
|
| @@ -1049,7 +1050,7 @@ void IndexedDBDatabase::OpenCursorOperation(
|
| }
|
|
|
| if (!backing_store_cursor) {
|
| - params->callbacks->OnSuccess(static_cast<std::string*>(NULL));
|
| + params->callbacks->OnSuccess(static_cast<IndexedDBValue*>(NULL));
|
| return;
|
| }
|
|
|
|
|