chromium/third_party/blink/renderer/core/timing/event_counts.cc

// Copyright 2020 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/timing/event_counts.h"

#include "base/not_fatal_until.h"
#include "third_party/blink/renderer/core/event_type_names.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string_hash.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"

namespace blink {

class EventCountsIterationSource final
    : public PairSyncIterable<EventCounts>::IterationSource {};

void EventCounts::Add(const AtomicString& event_type) {}

void EventCounts::AddMultipleEvents(const AtomicString& event_type,
                                    uint64_t count) {}

EventCounts::EventCounts() {}

PairSyncIterable<EventCounts>::IterationSource*
EventCounts::CreateIterationSource(ScriptState*, ExceptionState&) {}

bool EventCounts::GetMapEntry(ScriptState*,
                              const String& key,
                              uint64_t& value,
                              ExceptionState&) {}

}  // namespace blink