| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module mojo.files; | |
| 6 | |
| 7 import "services/files/directory.mojom"; | |
| 8 import "services/files/types.mojom"; | |
| 9 | |
| 10 enum FileSystem { | |
| 11 // A per-instance (i.e., one for each call to |OpenFileSystem()|) temporary | |
| 12 // file system. | |
| 13 TEMPORARY, | |
| 14 | |
| 15 // A persistent, shared file system (rooted at ~/MojoDebug, which must already | |
| 16 // exist) only available in Debug builds. | |
| 17 DEBUG, | |
| 18 }; | |
| 19 | |
| 20 interface Files { | |
| 21 OpenFileSystem(FileSystem file_system, Directory& directory) => (Error error); | |
| 22 }; | |
| OLD | NEW |