chromium/chrome/browser/new_tab_page/chrome_colors/chrome_colors_util.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/new_tab_page/chrome_colors/chrome_colors_util.h"

#include <iterator>

#include "base/metrics/histogram_functions.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/new_tab_page/chrome_colors/generated_colors_info.h"
#include "chrome/browser/ui/webui/cr_components/theme_color_picker/customize_chrome_colors.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/mojom/themes.mojom.h"

namespace chrome_colors {

namespace {

// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
enum class ChromeColorType {};

void RecordChromeColorsColorType(ChromeColorType type) {}

void RecordChromeColorsDynamicColor(int color_id) {}

int GetDynamicColorId(const SkColor color,
                      ui::mojom::BrowserColorVariant variant) {}

}  // namespace

void RecordColorOnLoadHistogram(SkColor color) {}

void RecordDynamicColorOnLoadHistogramForGrayscale() {}

void RecordDynamicColorOnLoadHistogram(SkColor color,
                                       ui::mojom::BrowserColorVariant variant) {}

int GetChromeColorsInfo(SkColor color) {}

}  // namespace chrome_colors