Index: content/public/common/drop_data.h |
diff --git a/content/public/common/drop_data.h b/content/public/common/drop_data.h |
index fce6db13774f772181d135a12c452ff553f58699..e856d1a398da8713245d06b5235110dd9ad373c7 100644 |
--- a/content/public/common/drop_data.h |
+++ b/content/public/common/drop_data.h |
@@ -13,6 +13,7 @@ |
#include <map> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/strings/nullable_string16.h" |
@@ -23,6 +24,15 @@ |
namespace content { |
+enum DropDataKind { |
+ STRING_KIND = 0, |
+ FILENAME_KIND, |
+ FILESYSTEMFILE_KIND, |
+ DROP_DATA_KIND_LAST = FILESYSTEMFILE_KIND |
+}; |
+ |
+typedef std::pair<base::string16, DropDataKind> MimeTypeKindPair; |
+ |
struct CONTENT_EXPORT DropData { |
struct FileSystemFileInfo { |
FileSystemFileInfo() : size(0) {} |