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

Unified Diff: components/leveldb/leveldb_database_impl.cc

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « components/leveldb/leveldb_database_impl.h ('k') | components/leveldb/leveldb_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/leveldb_database_impl.cc
diff --git a/components/leveldb/leveldb_database_impl.cc b/components/leveldb/leveldb_database_impl.cc
index 82b1773e7c65b07c226d8870233bf82a69a4d7bf..e94fac25b1783e34d3a8f8220e7d96334556533d 100644
--- a/components/leveldb/leveldb_database_impl.cc
+++ b/components/leveldb/leveldb_database_impl.cc
@@ -46,12 +46,9 @@ leveldb::Status ForEachWithPrefix(leveldb::DB* db,
} // namespace
LevelDBDatabaseImpl::LevelDBDatabaseImpl(
- leveldb::mojom::LevelDBDatabaseRequest request,
std::unique_ptr<leveldb::Env> environment,
std::unique_ptr<leveldb::DB> db)
- : binding_(this, std::move(request)),
- environment_(std::move(environment)),
- db_(std::move(db)) {}
+ : environment_(std::move(environment)), db_(std::move(db)) {}
LevelDBDatabaseImpl::~LevelDBDatabaseImpl() {
for (auto& p : iterator_map_)
« no previous file with comments | « components/leveldb/leveldb_database_impl.h ('k') | components/leveldb/leveldb_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698