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

Unified Diff: services/file_manager/file_manager.mojom

Issue 875643004: Prototype of Files service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Directory: make OpenFile()'s |file| arg optional; add flags to OpenDirectory(); add Delete() 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/file_manager/file_manager.mojom
diff --git a/services/file_manager/file_manager.mojom b/services/file_manager/file_manager.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..d63c37445a44bb7e269946e524edc754dc2e8e3e
--- /dev/null
+++ b/services/file_manager/file_manager.mojom
@@ -0,0 +1,17 @@
+// 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/file_manager/directory.mojom";
+import "services/file_manager/types.mojom";
+
+enum FileSystem {
+ TEMPORARY,
+ USER,
darin (slow to review) 2015/02/06 23:36:11 maybe for starters, there should only be temporary
vtl 2015/02/06 23:51:50 Yup (see my message in mojo-dev). (On the other h
+};
+
+interface FileManager {
+ OpenFileSystem(FileSystem file_system, Directory& directory) => (Error error);
+};

Powered by Google App Engine
This is Rietveld 408576698