chromium/third_party/blink/renderer/core/html/parser/special_sequences_tracker.cc

// Copyright 2022 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/core/html/parser/special_sequences_tracker.h"

#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace blink {
namespace {

const LChar kCData[] =;
// Don't include the \0 in the count.
constexpr wtf_size_t kCDataLength =;

}  // namespace

void SpecialSequencesTracker::UpdateIndices(const String& string) {}

unsigned SpecialSequencesTracker::IndexOfNullChar(const String& string) const {}

bool SpecialSequencesTracker::MatchPossibleCDataSection(
    const String& string,
    wtf_size_t start_string_index) {}

void SpecialSequencesTracker::UpdateIndexOfCDATA(const String& string) {}

}  // namespace blink