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

Side by Side Diff: components/filesystem/public/interfaces/types.mojom

Issue 1962503002: Add mojom module suffix in .mojom files for components/filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 module filesystem; 5 module filesystem.mojom;
6 6
7 // Error codes used by the file system. These error codes line up exactly with 7 // Error codes used by the file system. These error codes line up exactly with
8 // those of base::File. 8 // those of base::File.
9 enum FileError { 9 enum FileError {
10 OK = 0, 10 OK = 0,
11 FAILED = -1, 11 FAILED = -1,
12 IN_USE = -2, 12 IN_USE = -2,
13 EXISTS = -3, 13 EXISTS = -3,
14 NOT_FOUND = -4, 14 NOT_FOUND = -4,
15 ACCESS_DENIED = -5, 15 ACCESS_DENIED = -5,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Describes a directory entry (i.e., a single member of a directory). 93 // Describes a directory entry (i.e., a single member of a directory).
94 struct DirectoryEntry { 94 struct DirectoryEntry {
95 FsFileType type; 95 FsFileType type;
96 string name; 96 string name;
97 }; 97 };
98 98
99 // Deletion flags: 99 // Deletion flags:
100 // Recursively delete. 100 // Recursively delete.
101 const uint32 kDeleteFlagRecursive = 0x1; 101 const uint32 kDeleteFlagRecursive = 0x1;
OLDNEW
« no previous file with comments | « components/filesystem/public/interfaces/file_system.mojom ('k') | components/filesystem/shared_temp_dir.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698