Chromium Code Reviews| Index: Source/platform/FileChooser.h |
| diff --git a/Source/platform/FileChooser.h b/Source/platform/FileChooser.h |
| index d1baef025168d5a7769202b11c84261a76b6bacb..071ef9175ea451f8941f6fd4df97bc8df277ff61 100644 |
| --- a/Source/platform/FileChooser.h |
| +++ b/Source/platform/FileChooser.h |
| @@ -30,7 +30,9 @@ |
| #ifndef FileChooser_h |
| #define FileChooser_h |
| +#include "platform/FileMetadata.h" |
| #include "platform/PlatformExport.h" |
| +#include "platform/weborigin/KURL.h" |
| #include "wtf/RefCounted.h" |
| #include "wtf/Vector.h" |
| #include "wtf/text/WTFString.h" |
| @@ -46,8 +48,14 @@ struct FileChooserFileInfo { |
| { |
| } |
| + FileChooserFileInfo(const KURL& fileSystemURL, const FileMetadata metadata) : fileSystemURL(fileSystemURL), metadata(metadata) |
| + { |
| + } |
| + |
| const String path; |
| const String displayName; |
| + const KURL fileSystemURL; |
| + const FileMetadata metadata; |
|
tkent
2014/10/17 00:20:22
Please add a comment that |metadata| is available
hirono
2014/10/17 09:30:58
The path and displayName properties are also avail
|
| }; |
| struct FileChooserSettings { |