#include "components/sync/base/passphrase_enums.h"
#include <optional>
#include "base/check_op.h"
#include "base/notreached.h"
#include "components/sync/protocol/nigori_specifics.pb.h"
namespace syncer {
bool IsExplicitPassphrase(PassphraseType type) { … }
sync_pb::NigoriSpecifics::PassphraseType ProtoPassphraseInt32ToProtoEnum(
std::int32_t type) { … }
std::optional<PassphraseType> ProtoPassphraseInt32ToEnum(std::int32_t type) { … }
sync_pb::NigoriSpecifics::PassphraseType EnumPassphraseTypeToProto(
PassphraseType type) { … }
std::optional<KeyDerivationMethod> ProtoKeyDerivationMethodToEnum(
std::int32_t method) { … }
sync_pb::NigoriSpecifics::KeyDerivationMethod EnumKeyDerivationMethodToProto(
KeyDerivationMethod method) { … }
}