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); |