#ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_FILE_HANDLER_H_
#define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_FILE_HANDLER_H_
#include <ostream>
#include <set>
#include <string>
#include <vector>
#include "base/containers/flat_set.h"
#include "base/values.h"
#include "components/services/app_service/public/cpp/icon_info.h"
#include "url/gurl.h"
namespace apps {
struct FileHandler { … };
FileHandlers;
std::set<std::string> GetMimeTypesFromFileHandlers(
const FileHandlers& file_handlers);
std::set<std::string> GetMimeTypesFromFileHandler(
const FileHandler& file_handler);
std::set<std::string> GetFileExtensionsFromFileHandlers(
const FileHandlers& file_handlers);
std::set<std::string> GetFileExtensionsFromFileHandler(
const FileHandler& file_handler);
bool operator==(const FileHandler::AcceptEntry& accept_entry1,
const FileHandler::AcceptEntry& accept_entry2);
bool operator==(const FileHandler& file_handler1,
const FileHandler& file_handler2);
bool operator!=(const FileHandler::AcceptEntry& accept_entry1,
const FileHandler::AcceptEntry& accept_entry2);
bool operator!=(const FileHandler& file_handler1,
const FileHandler& file_handler2);
}
#endif