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

Side by Side Diff: services/files/files.mojom

Issue 875643004: Prototype of Files service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove much of DirectoryImpl implementation until I write tests. Created 5 years, 9 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
(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.
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-
17 DEBUG,
18 };
19
20 interface Files {
21 OpenFileSystem(FileSystem file_system, Directory& directory) => (Error error);
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698