Index: chrome/common/extensions/api/extfs.idl |
diff --git a/chrome/common/extensions/api/extfs.idl b/chrome/common/extensions/api/extfs.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e943533eea1cefe29a5e6ef52432745f841a61c |
--- /dev/null |
+++ b/chrome/common/extensions/api/extfs.idl |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2012 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. |
+ |
+namespace extfs { |
+ callback BoolCallback = void (boolean result); |
+ |
+ dictionary EntryInfo { |
+ boolean isDirectory; |
+ DOMString name; |
+ }; |
+ |
+ interface Functions { |
+ static void addMountPoint(DOMString mountName, BoolCallback callback); |
+ static void didGetFileInfo(long requestId, EntryInfo entry); |
+ }; |
+ |
+ interface Events { |
+ static void onGetFileInfo(long requestId, DOMString path); |
+ }; |
+}; |