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

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

Issue 19117005: IndexedDB: Coding conventions and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 aa160e9424cddfca64a74e07a63d474140a5fb11..83b4763edc1dcb1abf0db458d3fa07983c430606 100644
--- a/content/browser/indexed_db/leveldb/leveldb_transaction.h
+++ b/content/browser/indexed_db/leveldb/leveldb_transaction.h
@@ -24,7 +24,7 @@ class LevelDBWriteBatch;
class CONTENT_EXPORT LevelDBTransaction
: public base::RefCounted<LevelDBTransaction> {
public:
- static scoped_refptr<LevelDBTransaction> Create(LevelDBDatabase* db);
+ explicit LevelDBTransaction(LevelDBDatabase* db);
void Put(const base::StringPiece& key, std::string* value);
void Remove(const base::StringPiece& key);
@@ -35,7 +35,6 @@ class CONTENT_EXPORT LevelDBTransaction
scoped_ptr<LevelDBIterator> CreateIterator();
private:
- explicit LevelDBTransaction(LevelDBDatabase* db);
virtual ~LevelDBTransaction();
friend class base::RefCounted<LevelDBTransaction>;

Powered by Google App Engine
This is Rietveld 408576698