chromium/third_party/blink/renderer/core/css/check_pseudo_has_fast_reject_filter.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.

#include "third_party/blink/renderer/core/css/check_pseudo_has_fast_reject_filter.h"

#include "third_party/blink/renderer/core/css/css_selector.h"

namespace blink {

namespace {

// Salt to separate otherwise identical string hashes so a class-selector like
// .article won't match <article> elements.
enum {};

inline bool IsExcludedAttribute(const AtomicString& name) {}

inline unsigned GetTagHash(const AtomicString& tag_name) {}

inline unsigned GetClassHash(const AtomicString& class_name) {}

inline unsigned GetIdHash(const AtomicString& id) {}

inline unsigned GetAttributeHash(const AtomicString& attribute_name) {}

}  // namespace

void CheckPseudoHasFastRejectFilter::AddElementIdentifierHashes(
    const Element& element) {}

bool CheckPseudoHasFastRejectFilter::FastReject(
    const Vector<unsigned>& pseudo_has_argument_hashes) const {}

// static
void CheckPseudoHasFastRejectFilter::CollectPseudoHasArgumentHashes(
    Vector<unsigned>& pseudo_has_argument_hashes,
    const CSSSelector* simple_selector) {}

void CheckPseudoHasFastRejectFilter::AllocateBloomFilter() {}

}  // namespace blink