#include "extensions/common/manifest_handlers/mime_types_handler.h"
#include <stddef.h>
#include "base/containers/contains.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "content/public/common/webplugininfo.h"
#include "extensions/common/constants.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
keys;
errors;
namespace …
const std::vector<std::string>& MimeTypesHandler::GetMIMETypeAllowlist() { … }
MimeTypesHandler::MimeTypesHandler() = default;
MimeTypesHandler::~MimeTypesHandler() = default;
void MimeTypesHandler::AddMIMEType(const std::string& mime_type) { … }
bool MimeTypesHandler::CanHandleMIMEType(const std::string& mime_type) const { … }
bool MimeTypesHandler::HasPlugin() const { … }
SkColor MimeTypesHandler::GetBackgroundColor() const { … }
base::FilePath MimeTypesHandler::GetPluginPath() const { … }
MimeTypesHandler* MimeTypesHandler::GetHandler(
const extensions::Extension* extension) { … }
MimeTypesHandlerParser::MimeTypesHandlerParser() { … }
MimeTypesHandlerParser::~MimeTypesHandlerParser() { … }
bool MimeTypesHandlerParser::Parse(extensions::Extension* extension,
std::u16string* error) { … }
base::span<const char* const> MimeTypesHandlerParser::Keys() const { … }