#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 {
enum class ChromeColorType { … };
void RecordChromeColorsColorType(ChromeColorType type) { … }
void RecordChromeColorsDynamicColor(int color_id) { … }
int GetDynamicColorId(const SkColor color,
ui::mojom::BrowserColorVariant variant) { … }
}
void RecordColorOnLoadHistogram(SkColor color) { … }
void RecordDynamicColorOnLoadHistogramForGrayscale() { … }
void RecordDynamicColorOnLoadHistogram(SkColor color,
ui::mojom::BrowserColorVariant variant) { … }
int GetChromeColorsInfo(SkColor color) { … }
}