chromium/ui/color/color_metrics.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 "ui/color/color_metrics.h"

#include "base/command_line.h"
#include "base/metrics/histogram_functions.h"

namespace {

// Estimated upper limit of what we should record for cache size.
constexpr int kCacheHistogramMax =;

// Used to determine if we are running in the browser process for metrics
// purposes.
bool IsBrowserProcess() {}

}  // namespace

namespace ui {

void RecordColorProviderCacheSize(int cache_size) {}

void RecordNumColorProvidersInitializedDuringOnNativeThemeUpdated(
    int num_providers) {}

void RecordTimeSpentInitializingColorProvider(base::TimeDelta duration) {}

void RecordTimeSpentProcessingOnNativeThemeUpdatedEvent(
    base::TimeDelta duration) {}

}  // namespace ui