// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_PREFERENCES_SYNCABLE_PREFS_DATABASE_H_ #define COMPONENTS_SYNC_PREFERENCES_SYNCABLE_PREFS_DATABASE_H_ #include <optional> #include <ostream> #include <string_view> #include "base/check.h" #include "build/build_config.h" #include "build/chromeos_buildflags.h" #include "components/sync/base/data_type.h" namespace sync_preferences { enum class PrefSensitivity { … }; enum class MergeBehavior { … }; // This class represents the metadata corresponding to a syncable preference. class SyncablePrefMetadata { … }; // This class provides an interface to define the list of syncable // preferences (and in the future, some additional metadata). // PrefModelAssociatorClient uses the interface to verify if a preference is // syncable. Platform-specific preferences should be part of individual // implementations of this interface. class SyncablePrefsDatabase { … }; } // namespace sync_preferences #endif // COMPONENTS_SYNC_PREFERENCES_SYNCABLE_PREFS_DATABASE_H_