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

Unified Diff: services/files/files.mojom

Issue 875643004: Prototype of Files service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: already ignored EINTR 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
« no previous file with comments | « services/files/file_impl.cc ('k') | services/files/files_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+ DEBUG,
+};
+
+interface Files {
+ OpenFileSystem(FileSystem file_system, Directory& directory) => (Error error);
+};
« no previous file with comments | « services/files/file_impl.cc ('k') | services/files/files_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698