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

Unified Diff: components/filesystem/file_system_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: merge tot Created 4 years, 9 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: components/filesystem/file_system_impl.cc
diff --git a/components/filesystem/file_system_impl.cc b/components/filesystem/file_system_impl.cc
index f8b9594dc9d5b48c5be7a23d03a2696241b607bb..b1eacf16ca8aad5dd7136684eb026e8f22ff20a0 100644
--- a/components/filesystem/file_system_impl.cc
+++ b/components/filesystem/file_system_impl.cc
@@ -15,6 +15,7 @@
#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "components/filesystem/directory_impl.h"
+#include "components/filesystem/lock_table.h"
#include "mojo/shell/public/cpp/connection.h"
#include "url/gurl.h"
@@ -23,10 +24,10 @@ namespace filesystem {
FileSystemImpl::FileSystemImpl(mojo::Connection* connection,
mojo::InterfaceRequest<FileSystem> request,
base::FilePath persistent_dir,
- LockTable* lock_table)
+ scoped_refptr<LockTable> lock_table)
: remote_application_name_(connection->GetRemoteIdentity().name()),
binding_(this, std::move(request)),
- lock_table_(lock_table),
+ lock_table_(std::move(lock_table)),
persistent_dir_(persistent_dir) {}
FileSystemImpl::~FileSystemImpl() {

Powered by Google App Engine
This is Rietveld 408576698