| Index: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
|
| diff --git a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
|
| index 1ba3583e6a37d3d1238ebbf65f38d0feeead89ba..4f130ddef2222aab1a276bddd129999b23367d7a 100644
|
| --- a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
|
| +++ b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
|
| @@ -8,6 +8,7 @@
|
| #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_DOCUMENTS_PROVIDER_UTIL_H_
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/files/file_path.h"
|
|
|
| @@ -61,6 +62,14 @@ bool ParseDocumentsProviderUrl(const storage::FileSystemURL& url,
|
| GURL BuildDocumentUrl(const std::string& authority,
|
| const std::string& document_id);
|
|
|
| +// Similar to net::GetExtensionsForMimeType(), but this covers more MIME types
|
| +// used in Android.
|
| +// Returns an empty vector if the MIME type is not known.
|
| +// If the returned vector is not empty, the first extension is the preferred
|
| +// extension.
|
| +std::vector<base::FilePath::StringType> GetExtensionsForArcMimeType(
|
| + const std::string& mime_type);
|
| +
|
| } // namespace arc
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_DOCUMENTS_PROVIDER_UTIL_H_
|
|
|