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

Side by Side Diff: components/filesystem/public/interfaces/directory.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 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 9
10 struct FileOpenDetails { 10 struct FileOpenDetails {
11 string path; 11 string path;
12 uint32 open_flags; 12 uint32 open_flags;
13 }; 13 };
14 14
15 struct FileOpenResult { 15 struct FileOpenResult {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 WriteFile(string path, array<uint8> data) => (FileError error); 97 WriteFile(string path, array<uint8> data) => (FileError error);
98 98
99 // TODO(vtl): directory "streaming"? 99 // TODO(vtl): directory "streaming"?
100 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that 100 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that
101 // this would require a much more complicated implementation (e.g., it needs 101 // this would require a much more complicated implementation (e.g., it needs
102 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid 102 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid
103 // even if the opened directory is subsequently moved -- e.g., closer to the 103 // even if the opened directory is subsequently moved -- e.g., closer to the
104 // "root") 104 // "root")
105 // TODO(vtl): Add a "watch"? 105 // TODO(vtl): Add a "watch"?
106 }; 106 };
OLDNEW
« no previous file with comments | « components/filesystem/public/cpp/prefs/pref_service_factory.cc ('k') | components/filesystem/public/interfaces/file.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698