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

Unified Diff: components/filesystem/public/interfaces/types.mojom

Issue 1163523006: Revert of Mandoline filesystem: Enable windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/public/interfaces/file_system.mojom ('k') | components/filesystem/util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/public/interfaces/types.mojom
diff --git a/components/filesystem/public/interfaces/types.mojom b/components/filesystem/public/interfaces/types.mojom
index 97988f65b2f6c56d382875f29ce27a30ee74dcf1..f3111438e6697714e19058e98f33d710186006c7 100644
--- a/components/filesystem/public/interfaces/types.mojom
+++ b/components/filesystem/public/interfaces/types.mojom
@@ -6,7 +6,7 @@
// Error codes used by the file system. These error codes line up exactly with
// those of base::File.
-enum FileError {
+enum Error {
OK = 0,
FAILED = -1,
IN_USE = -2,
@@ -50,7 +50,7 @@
// appropriate capabilities) and may not reflect reality.
struct FileInformation {
// Type of the file.
- FsFileType type;
+ FileType type;
// Size of the file, in bytes. Zero for directories.
int64 size;
// Last access time, in seconds since Unix Epoch.
@@ -79,10 +79,7 @@
const uint32 kFlagAppend = 0x80;
// File types.
-//
-// Note: This is named FsFileType because otherwise we have a name collision
-// with windows.h.
-enum FsFileType {
+enum FileType {
UNKNOWN = 0,
REGULAR_FILE,
DIRECTORY,
@@ -90,7 +87,7 @@
// Describes a directory entry (i.e., a single member of a directory).
struct DirectoryEntry {
- FsFileType type;
+ FileType type;
string name;
};
« no previous file with comments | « components/filesystem/public/interfaces/file_system.mojom ('k') | components/filesystem/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698