Index: content/browser/indexed_db/leveldb/leveldb_write_batch.h |
diff --git a/content/browser/indexed_db/leveldb/leveldb_write_batch.h b/content/browser/indexed_db/leveldb/leveldb_write_batch.h |
index 2849687c915cc23a5fb0b03f8a706d91b09199a6..3fbd103dd4cc0a17bb7ae06fa67243725ce8d7e8 100644 |
--- a/content/browser/indexed_db/leveldb/leveldb_write_batch.h |
+++ b/content/browser/indexed_db/leveldb/leveldb_write_batch.h |
@@ -6,6 +6,7 @@ |
#define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_WRITE_BATCH_H_ |
#include "base/memory/scoped_ptr.h" |
+#include "base/strings/string_piece.h" |
namespace leveldb { |
class WriteBatch; |
@@ -13,8 +14,6 @@ class WriteBatch; |
namespace content { |
-class LevelDBSlice; |
- |
// Wrapper around leveldb::WriteBatch. |
// This class holds a collection of updates to apply atomically to a database. |
class LevelDBWriteBatch { |
@@ -22,8 +21,9 @@ class LevelDBWriteBatch { |
static scoped_ptr<LevelDBWriteBatch> Create(); |
~LevelDBWriteBatch(); |
- void Put(const LevelDBSlice& key, const LevelDBSlice& value); |
- void Remove(const LevelDBSlice& key); // Add remove operation to the batch. |
+ void Put(const base::StringPiece& key, const base::StringPiece& value); |
+ void Remove(const base::StringPiece& key); // Add remove operation to the |
+ // batch. |
void Clear(); |
private: |