chromium/third_party/blink/renderer/core/dom/space_split_string.cc

/*
 * Copyright (C) 2007 David Smith ([email protected])
 * Copyright (C) 2007, 2008, 2011, 2012 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#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/dom/space_split_string.h"

#include "third_party/blink/renderer/core/html/parser/html_parser_idioms.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/hash_set.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string_hash.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
#include "third_party/blink/renderer/platform/wtf/thread_specific.h"

namespace blink {

// https://dom.spec.whatwg.org/#concept-ordered-set-parser
template <typename CharacterType>
ALWAYS_INLINE void SpaceSplitString::Data::CreateVector(
    const AtomicString& source,
    const CharacterType* characters,
    unsigned length) {}

void SpaceSplitString::Data::CreateVector(const AtomicString& string) {}

bool SpaceSplitString::Data::ContainsAll(Data& other) {}

void SpaceSplitString::Data::Add(const AtomicString& string) {}

void SpaceSplitString::Data::Remove(unsigned index) {}

void SpaceSplitString::Add(const AtomicString& string) {}

void SpaceSplitString::Remove(const AtomicString& string) {}

void SpaceSplitString::Remove(wtf_size_t index) {}

void SpaceSplitString::ReplaceAt(wtf_size_t index, const AtomicString& token) {}

AtomicString SpaceSplitString::SerializeToString() const {}

// static
SpaceSplitString::DataMap& SpaceSplitString::SharedDataMap() {}

void SpaceSplitString::Set(const AtomicString& input_string) {}

SpaceSplitString::Data* SpaceSplitString::Data::Create(
    const AtomicString& string) {}

SpaceSplitString::Data* SpaceSplitString::Data::CreateUnique(
    const Data& other) {}

// This constructor always creates a "shared" (non-unique) Data object.
SpaceSplitString::Data::Data(const AtomicString& string)
    :{}

// This constructor always creates a non-"shared" (unique) Data object.
SpaceSplitString::Data::Data(const SpaceSplitString::Data& other)
    :{}

std::ostream& operator<<(std::ostream& ostream, const SpaceSplitString& str) {}

}  // namespace blink