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

Side by Side Diff: components/filesystem/directory_impl.h

Issue 1176653002: mandoline filesystem: add a sqlite3 vfs to proxy filesystem usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win 8 Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/filesystem/DEPS ('k') | components/filesystem/directory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ 5 #ifndef COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_
6 #define COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ 6 #define COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/scoped_file.h" 9 #include "base/files/scoped_file.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 26 matching lines...) Expand all
37 void OpenDirectory(const mojo::String& path, 37 void OpenDirectory(const mojo::String& path,
38 mojo::InterfaceRequest<Directory> directory, 38 mojo::InterfaceRequest<Directory> directory,
39 uint32_t open_flags, 39 uint32_t open_flags,
40 const OpenDirectoryCallback& callback) override; 40 const OpenDirectoryCallback& callback) override;
41 void Rename(const mojo::String& path, 41 void Rename(const mojo::String& path,
42 const mojo::String& new_path, 42 const mojo::String& new_path,
43 const RenameCallback& callback) override; 43 const RenameCallback& callback) override;
44 void Delete(const mojo::String& path, 44 void Delete(const mojo::String& path,
45 uint32_t delete_flags, 45 uint32_t delete_flags,
46 const DeleteCallback& callback) override; 46 const DeleteCallback& callback) override;
47 void Exists(const mojo::String& path,
48 const ExistsCallback& callback) override;
49 void IsWritable(const mojo::String& path,
50 const IsWritableCallback& callback) override;
51 void Flush(const FlushCallback& callback) override;
47 52
48 private: 53 private:
49 mojo::StrongBinding<Directory> binding_; 54 mojo::StrongBinding<Directory> binding_;
50 base::FilePath directory_path_; 55 base::FilePath directory_path_;
51 scoped_ptr<base::ScopedTempDir> temp_dir_; 56 scoped_ptr<base::ScopedTempDir> temp_dir_;
52 57
53 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl); 58 DISALLOW_COPY_AND_ASSIGN(DirectoryImpl);
54 }; 59 };
55 60
56 } // namespace filesystem 61 } // namespace filesystem
57 62
58 #endif // COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_ 63 #endif // COMPONENTS_FILESYSTEM_DIRECTORY_IMPL_H_
OLDNEW
« no previous file with comments | « components/filesystem/DEPS ('k') | components/filesystem/directory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698