chromium/third_party/blink/renderer/platform/network/mime/mime_type_registry.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/network/mime/mime_type_registry.h"

#include "base/files/file_path.h"
#include "base/strings/string_util.h"
#include "media/base/mime_util.h"
#include "media/filters/stream_parser_factory.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/base/mime_util.h"
#include "third_party/blink/public/common/mime_util/mime_util.h"
#include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h"
#include "third_party/blink/public/mojom/mime/mime_registry.mojom-blink.h"
#include "third_party/blink/public/platform/file_path_conversion.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/wtf/assertions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {

namespace  // namespace

String MIMETypeRegistry::GetMIMETypeForExtension(const String& ext) {}

String MIMETypeRegistry::GetWellKnownMIMETypeForExtension(const String& ext) {}

bool MIMETypeRegistry::IsSupportedMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedImageMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedImageResourceMIMEType(
    const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedImagePrefixedMIMEType(
    const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedImageMIMETypeForEncoding(
    const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedJavaScriptMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsJSONMimeType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedNonImageMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedMediaMIMEType(const String& mime_type,
                                                const String& codecs) {}

MIMETypeRegistry::SupportsType MIMETypeRegistry::SupportsMediaMIMEType(
    const String& mime_type,
    const String& codecs) {}

MIMETypeRegistry::SupportsType MIMETypeRegistry::SupportsMediaSourceMIMEType(
    const String& mime_type,
    const String& codecs) {}

bool MIMETypeRegistry::IsJavaAppletMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedStyleSheetMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedFontMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsSupportedTextTrackMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsXMLMIMEType(const String& mime_type) {}

bool MIMETypeRegistry::IsPlainTextMIMEType(const String& mime_type) {}

}  // namespace blink