#ifndef EXTENSIONS_BROWSER_API_FILE_HANDLERS_MIME_UTIL_H_
#define EXTENSIONS_BROWSER_API_FILE_HANDLERS_MIME_UTIL_H_
#include <stddef.h>
#include <memory>
#include <string>
#include <vector>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
namespace content {
class BrowserContext;
}
namespace base {
class FilePath;
}
namespace storage {
class FileSystemURL;
}
namespace extensions {
namespace app_file_handler_util {
extern const char kMimeTypeApplicationOctetStream[];
extern const char kMimeTypeInodeDirectory[];
void GetMimeTypeForLocalPath(
content::BrowserContext* context,
const base::FilePath& local_path,
base::OnceCallback<void(const std::string&)> callback);
class MimeTypeCollector { … };
}
}
#endif