Chromium Code Reviews| Index: services/files/files.mojom |
| diff --git a/services/files/files.mojom b/services/files/files.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0e7b61dffa957c0b2ba4a05a97432ae7556eab9e |
| --- /dev/null |
| +++ b/services/files/files.mojom |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +module mojo.files; |
| + |
| +import "services/files/directory.mojom"; |
| +import "services/files/types.mojom"; |
| + |
| +enum FileSystem { |
| + // A per-instance (i.e., one for each call to |OpenFileSystem()|) temporary |
| + // file system. |
| + TEMPORARY, |
| + |
| + // A persistent, shared file system (rooted at ~/MojoDebug, which must already |
| + // exist) only available in Debug builds. |
|
qsr
2015/03/02 12:46:40
What is ~/MojoDebug on Android?
viettrungluu
2015/03/02 18:10:59
It probably doesn't work, but feel free to suggest
qsr
2015/03/03 11:56:44
I guess I can make sure that HOME has some kind of
viettrungluu
2015/03/03 18:50:35
Right. We'll need to decide on per-app versus per-
|
| + DEBUG, |
| +}; |
| + |
| +interface Files { |
| + OpenFileSystem(FileSystem file_system, Directory& directory) => (Error error); |
| +}; |