Index: chrome/common/extensions/api/file_system.idl |
diff --git a/chrome/common/extensions/api/file_system.idl b/chrome/common/extensions/api/file_system.idl |
index 61a9f27dc427a4882498f74919665d2713293c82..b5aa4dab01a25e9ad98cc79b043351b1e85ff20a 100644 |
--- a/chrome/common/extensions/api/file_system.idl |
+++ b/chrome/common/extensions/api/file_system.idl |
@@ -75,7 +75,13 @@ namespace fileSystem { |
// single Entry. |
boolean? acceptsMultiple; |
}; |
- callback GetDisplayPathCallback = void (DOMString displayPath); |
+ |
+ dictionary GetFullPathOptions { |
+ // Whether to resolve symlinks. The default is false. |
+ boolean? resolveSymlinks; |
+ |
+ }; |
+ callback GetPathCallback = void (DOMString path); |
callback EntryCallback = void ([instanceOf=Entry] object entry); |
callback EntriesCallback = void ( |
[instanceOf=Entry] optional object entry, |
@@ -88,7 +94,7 @@ namespace fileSystem { |
// the full path of the file or directory on the local file system, but may |
// be made more readable for display purposes. |
static void getDisplayPath([instanceOf=Entry] object entry, |
- GetDisplayPathCallback callback); |
+ GetPathCallback callback); |
// Get a writable Entry from another Entry. This call will fail with a |
// runtime error if the application does not have the 'write' permission |
@@ -122,5 +128,11 @@ namespace fileSystem { |
// indefinitely. Otherwise, entries are retained only while the app is |
// running and across restarts. This method is new in Chrome 31. |
static DOMString retainEntry([instanceOf=Entry] object entry); |
+ |
+ // Returns the full path on the local file system of an Entry object. |
+ static void getFullPath([instanceOf=Entry] object entry, |
+ optional GetFullPathOptions options, |
+ GetPathCallback callback); |
+ |
}; |
}; |