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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_transaction.h

Issue 16256014: IndexedDB: Convert decoding functions to pass StringPieces vs. pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/leveldb/leveldb_transaction.h
diff --git a/content/browser/indexed_db/leveldb/leveldb_transaction.h b/content/browser/indexed_db/leveldb/leveldb_transaction.h
index 39d1a30b98036b61f69ecc72caaa98699bca714d..cde10f4d66c9217864bb21142e6de7443ffb256a 100644
--- a/content/browser/indexed_db/leveldb/leveldb_transaction.h
+++ b/content/browser/indexed_db/leveldb/leveldb_transaction.h
@@ -27,7 +27,7 @@ class CONTENT_EXPORT LevelDBTransaction
void Put(const LevelDBSlice& key, const std::vector<char>& value);
void Remove(const LevelDBSlice& key);
- bool Get(const LevelDBSlice& key, std::vector<char>& value, bool& found);
+ bool Get(const LevelDBSlice& key, std::string* value, bool& found);
bool Commit();
void Rollback();

Powered by Google App Engine
This is Rietveld 408576698