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