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

Unified Diff: components/filesystem/file_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: Remove stray mark. 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_impl.cc
diff --git a/components/filesystem/file_impl.cc b/components/filesystem/file_impl.cc
index 21b38d7290d8099cf620f157253c156be1f47d28..0966f24c56250017e3a74ec34363379142010f56 100644
--- a/components/filesystem/file_impl.cc
+++ b/components/filesystem/file_impl.cc
@@ -34,7 +34,7 @@ const size_t kMaxReadSize = 1 * 1024 * 1024; // 1 MB.
FileImpl::FileImpl(mojo::InterfaceRequest<File> request,
const base::FilePath& path,
uint32_t flags,
- LockTable* lock_table)
+ const scoped_refptr<LockTable>& lock_table)
: binding_(this, std::move(request)),
file_(path, flags),
path_(path),
@@ -45,7 +45,7 @@ FileImpl::FileImpl(mojo::InterfaceRequest<File> request,
FileImpl::FileImpl(mojo::InterfaceRequest<File> request,
const base::FilePath& path,
base::File file,
- LockTable* lock_table)
+ const scoped_refptr<LockTable>& lock_table)
: binding_(this, std::move(request)),
file_(std::move(file)),
path_(path),

Powered by Google App Engine
This is Rietveld 408576698