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

Side by Side Diff: mojo/services/files/public/interfaces/directory.mojom

Issue 1071693003: Uses mojom module names as Dart's package: import URI (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 [DartUriBase="mojo/services/files/public/interfaces"]
5 module mojo.files; 6 module mojo.files;
6 7
7 import "files/public/interfaces/file.mojom"; 8 import "files/public/interfaces/file.mojom";
8 import "files/public/interfaces/types.mojom"; 9 import "files/public/interfaces/types.mojom";
9 10
10 // This interface provides access to a directory in a "file system", providing 11 // This interface provides access to a directory in a "file system", providing
11 // operations such as creating/opening/removing/renaming files/directories 12 // operations such as creating/opening/removing/renaming files/directories
12 // within it. Note that all relative |path| arguments are relative to "this" 13 // within it. Note that all relative |path| arguments are relative to "this"
13 // directory (i.e., "this" directory functions as the current working directory 14 // directory (i.e., "this" directory functions as the current working directory
14 // for the various operations). 15 // for the various operations).
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // TODO(vtl): directory "streaming"? 55 // TODO(vtl): directory "streaming"?
55 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that 56 // TODO(vtl): "make root" (i.e., prevent cd-ing, etc., to parent); note that
56 // this would require a much more complicated implementation (e.g., it needs 57 // this would require a much more complicated implementation (e.g., it needs
57 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid 58 // to be "inherited" by OpenDirectory(), and the enforcement needs to be valid
58 // even if the opened directory is subsequently moved -- e.g., closer to the 59 // even if the opened directory is subsequently moved -- e.g., closer to the
59 // "root") 60 // "root")
60 // TODO(vtl): Add a "watch"? 61 // TODO(vtl): Add a "watch"?
61 // TODO(vtl): Should we have a "close" method? 62 // TODO(vtl): Should we have a "close" method?
62 // TODO(vtl): Add Dup() and Reopen() (like File)? 63 // TODO(vtl): Add Dup() and Reopen() (like File)?
63 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698