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

Side by Side Diff: components/filesystem/file_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/directory_impl_unittest.cc ('k') | components/filesystem/file_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_FILE_IMPL_H_ 5 #ifndef COMPONENTS_FILESYSTEM_FILE_IMPL_H_
6 #define COMPONENTS_FILESYSTEM_FILE_IMPL_H_ 6 #define COMPONENTS_FILESYSTEM_FILE_IMPL_H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.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 29 matching lines...) Expand all
40 void Seek(int64_t offset, 40 void Seek(int64_t offset,
41 Whence whence, 41 Whence whence,
42 const SeekCallback& callback) override; 42 const SeekCallback& callback) override;
43 void Stat(const StatCallback& callback) override; 43 void Stat(const StatCallback& callback) override;
44 void Truncate(int64_t size, const TruncateCallback& callback) override; 44 void Truncate(int64_t size, const TruncateCallback& callback) override;
45 void Touch(TimespecOrNowPtr atime, 45 void Touch(TimespecOrNowPtr atime,
46 TimespecOrNowPtr mtime, 46 TimespecOrNowPtr mtime,
47 const TouchCallback& callback) override; 47 const TouchCallback& callback) override;
48 void Dup(mojo::InterfaceRequest<File> file, 48 void Dup(mojo::InterfaceRequest<File> file,
49 const DupCallback& callback) override; 49 const DupCallback& callback) override;
50 void Flush(const FlushCallback& callback) override;
50 void AsHandle(const AsHandleCallback& callback) override; 51 void AsHandle(const AsHandleCallback& callback) override;
51 52
52 private: 53 private:
53 mojo::StrongBinding<File> binding_; 54 mojo::StrongBinding<File> binding_;
54 base::File file_; 55 base::File file_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(FileImpl); 57 DISALLOW_COPY_AND_ASSIGN(FileImpl);
57 }; 58 };
58 59
59 } // namespace filesystem 60 } // namespace filesystem
60 61
61 #endif // COMPONENTS_FILESYSTEM_FILE_IMPL_H_ 62 #endif // COMPONENTS_FILESYSTEM_FILE_IMPL_H_
OLDNEW
« 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