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

Unified Diff: components/filesystem/file_impl.h

Issue 1935863002: mojo: Fix leveldb unittests by making fs::Directories cloneable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Gyp continues to exist. Created 4 years, 8 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/filesystem/directory_impl_unittest.cc ('k') | components/filesystem/file_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/file_impl.h
diff --git a/components/filesystem/file_impl.h b/components/filesystem/file_impl.h
index bdae38e0d7eef3f02e5eddbaa40337468ca70c11..6a232fd328cbdf9b3ff7e1c4960e5b4bf54d2520 100644
--- a/components/filesystem/file_impl.h
+++ b/components/filesystem/file_impl.h
@@ -21,16 +21,19 @@ class FilePath;
namespace filesystem {
class LockTable;
+class SharedTempDir;
class FileImpl : public File {
public:
FileImpl(mojo::InterfaceRequest<File> request,
const base::FilePath& path,
uint32_t flags,
+ scoped_refptr<SharedTempDir> temp_dir,
scoped_refptr<LockTable> lock_table);
FileImpl(mojo::InterfaceRequest<File> request,
const base::FilePath& path,
base::File file,
+ scoped_refptr<SharedTempDir> temp_dir,
scoped_refptr<LockTable> lock_table);
~FileImpl() override;
@@ -74,6 +77,7 @@ class FileImpl : public File {
mojo::StrongBinding<File> binding_;
base::File file_;
base::FilePath path_;
+ scoped_refptr<SharedTempDir> temp_dir_;
scoped_refptr<LockTable> lock_table_;
DISALLOW_COPY_AND_ASSIGN(FileImpl);
« no previous file with comments | « components/filesystem/directory_impl_unittest.cc ('k') | components/filesystem/file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698