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

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

Issue 2555853003: Break up common_custom_types.mojom. (Closed)
Patch Set: Created 4 years 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.mojom; 5 module filesystem.mojom;
6 6
7 import "components/filesystem/public/interfaces/file.mojom"; 7 import "components/filesystem/public/interfaces/file.mojom";
8 import "components/filesystem/public/interfaces/types.mojom"; 8 import "components/filesystem/public/interfaces/types.mojom";
9 import "mojo/common/common_custom_types.mojom"; 9 import "mojo/common/file.mojom";
10 10
11 struct FileOpenDetails { 11 struct FileOpenDetails {
12 string path; 12 string path;
13 uint32 open_flags; 13 uint32 open_flags;
14 }; 14 };
15 15
16 struct FileOpenResult { 16 struct FileOpenResult {
17 string path; 17 string path;
18 FileError error; 18 FileError error;
19 mojo.common.mojom.File? file_handle; 19 mojo.common.mojom.File? file_handle;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 WriteFile(string path, array<uint8> data) => (FileError error); 100 WriteFile(string path, array<uint8> data) => (FileError error);
101 101
102 // TODO(vtl): directory "streaming"? 102 // TODO(vtl): directory "streaming"?
103 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that 103 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that
104 // this would require a much more complicated implementation (e.g., it needs 104 // this would require a much more complicated implementation (e.g., it needs
105 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid 105 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid
106 // even if the opened directory is subsequently moved -- e.g., closer to the 106 // even if the opened directory is subsequently moved -- e.g., closer to the
107 // "root") 107 // "root")
108 // TODO(vtl): Add a "watch"? 108 // TODO(vtl): Add a "watch"?
109 }; 109 };
OLDNEW
« no previous file with comments | « components/autofill/content/common/autofill_types.mojom ('k') | components/filesystem/public/interfaces/file.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698