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

#include "base/metrics/histogram_macros.h"
#include "services/metrics/public/cpp/metrics_utils.h"
#include "services/metrics/public/cpp/ukm_builders.h"

namespace blink {

HTMLParserMetrics::HTMLParserMetrics(int64_t source_id,
                                     ukm::UkmRecorder* recorder)
    :{}

void HTMLParserMetrics::AddChunk(base::TimeDelta elapsed_time,
                                 unsigned tokens_parsed) {}

void HTMLParserMetrics::AddYieldInterval(base::TimeDelta elapsed_time) {}

void HTMLParserMetrics::AddInput(unsigned length) {}

void HTMLParserMetrics::AddFetchQueuedPreloadsTime(int64_t elapsed_time) {}

void HTMLParserMetrics::AddPreloadTime(int64_t elapsed_time) {}

void HTMLParserMetrics::AddPrepareToStopParsingTime(int64_t elapsed_time) {}

void HTMLParserMetrics::AddPumpTokenizerTime(int64_t elapsed_time) {}

void HTMLParserMetrics::AddScanAndPreloadTime(int64_t elapsed_time) {}

void HTMLParserMetrics::AddScanTime(int64_t elapsed_time) {}

void HTMLParserMetrics::ReportUMAs() {}

void HTMLParserMetrics::ReportMetricsAtParseEnd() {}

}  // namespace blink