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

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

Powered by Google App Engine
This is Rietveld 408576698