Index: public/web/WebFileChooserCompletion.h |
diff --git a/public/web/WebFileChooserCompletion.h b/public/web/WebFileChooserCompletion.h |
index 19c0f268c64947c86a3b2649c52b5635bfa90995..84d1e5db4856d5114980ec5764457234ed2fc0e2 100644 |
--- a/public/web/WebFileChooserCompletion.h |
+++ b/public/web/WebFileChooserCompletion.h |
@@ -32,6 +32,7 @@ |
#define WebFileChooserCompletion_h |
#include "../platform/WebString.h" |
+#include "../platform/WebURL.h" |
namespace blink { |
@@ -47,6 +48,22 @@ public: |
// The display name of the file that is to be exposed as File.name in |
// the DOM layer. If it is empty the base part of the |path| is used. |
WebString displayName; |
+ |
+ // File system URL. |
+ WebURL fileSystemURL; |
+ |
+ // Metadata of non-native file. |
+ // 0 is Unix epoch, unit is sec. |
+ double modificationTime; |
+ long long length; |
+ bool isDirectory; |
+ |
+ SelectedFileInfo() |
+ : modificationTime(0) |
+ , length(0) |
+ , isDirectory(false) |
+ { |
+ } |
}; |
// Called with zero or more file names. Zero-lengthed vector means that |