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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
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);
+};

Powered by Google App Engine
This is Rietveld 408576698