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

Unified Diff: content/browser/level_db_wrapper_impl.cc

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp-ify all the tracing stuff. Created 4 years, 10 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/level_db_wrapper_impl.cc
diff --git a/content/browser/level_db_wrapper_impl.cc b/content/browser/level_db_wrapper_impl.cc
index d2f1b3e19b3e9198eb8f0aa4ab728ecf6278ab7c..c7e24b5317c3a22d92da7d17acadb894cc1b1774 100644
--- a/content/browser/level_db_wrapper_impl.cc
+++ b/content/browser/level_db_wrapper_impl.cc
@@ -9,8 +9,12 @@
namespace content {
LevelDBWrapperImpl::LevelDBWrapperImpl(
- const std::string& prefix, const base::Closure& no_bindings_callback)
- : prefix_(prefix), no_bindings_callback_(no_bindings_callback) {
+ leveldb::LevelDBDatabase* database,
+ const std::string& prefix,
+ const base::Closure& no_bindings_callback)
+ : prefix_(prefix),
+ no_bindings_callback_(no_bindings_callback),
+ database_(database) {
bindings_.set_connection_error_handler(base::Bind(
&LevelDBWrapperImpl::OnConnectionError, base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698