Searched refs:write_batch_ (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_write_batch.cc18 : write_batch_(new leveldb::WriteBatch) {}
28 write_batch_->Put(MakeSlice(key), MakeSlice(value));
32 write_batch_->Delete(MakeSlice(key));
35 void LevelDBWriteBatch::Clear() { write_batch_->Clear(); }
H A Dleveldb_write_batch.h33 scoped_ptr<leveldb::WriteBatch> write_batch_; member in class:content::LevelDBWriteBatch
H A Dleveldb_transaction.cc461 : db_(db), write_batch_(LevelDBWriteBatch::Create()), finished_(false) {}
464 write_batch_->Clear();
470 write_batch_->Put(key, *value);
486 write_batch_->Remove(key);
492 leveldb::Status s = db_->Write(*write_batch_);
495 write_batch_->Clear();
H A Dleveldb_transaction.h149 // write_batch_, and writes are write-through, without consolidation.
166 scoped_ptr<LevelDBWriteBatch> write_batch_; member in class:content::LevelDBDirectTransaction
H A Dleveldb_database.cc398 db_->Write(write_options, write_batch.write_batch_.get());

Completed in 753 milliseconds