chromium/chrome/browser/themes/theme_service_utils.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/themes/theme_service_utils.h"

#include <optional>

#include "chrome/browser/themes/theme_syncable_service.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "components/sync/protocol/proto_value_conversions.h"
#include "third_party/skia/include/core/SkColor.h"

bool CurrentThemeIsGrayscale(const PrefService* pref_service) {}

std::optional<SkColor> CurrentThemeUserColor(const PrefService* pref_service) {}

sync_pb::ThemeSpecifics::UserColorTheme::BrowserColorVariant
BrowserColorVariantToProtoEnum(ui::mojom::BrowserColorVariant color_variant) {}

ui::mojom::BrowserColorVariant ProtoEnumToBrowserColorVariant(
    sync_pb::ThemeSpecifics::UserColorTheme::BrowserColorVariant
        color_variant) {}

sync_pb::ThemeSpecifics::BrowserColorScheme BrowserColorSchemeToProtoEnum(
    ThemeService::BrowserColorScheme color_scheme) {}

ThemeService::BrowserColorScheme ProtoEnumToBrowserColorScheme(
    sync_pb::ThemeSpecifics::BrowserColorScheme color_scheme) {}