chromium/third_party/blink/renderer/core/html/parser/text_resource_decoder_builder_test.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.

#include "third_party/blink/renderer/core/html/parser/text_resource_decoder_builder.h"

#include <memory>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {

static const WTF::TextEncoding DefaultEncodingForUrlAndContentType(
    const char* url,
    const char* content_type) {}

static const WTF::TextEncoding DefaultEncodingForURL(const char* url) {}

TEST(TextResourceDecoderBuilderTest, defaultEncodingForJsonIsUTF8) {}

TEST(TextResourceDecoderBuilderTest, defaultEncodingComesFromTopLevelDomain) {}

TEST(TextResourceDecoderBuilderTest,
     NoCountryDomainURLDefaultsToLatin1Encoding) {}

}  // namespace blink