First, there is no single doctrine of salvation accepted by all Christians. The question of salvation for those who came before Jesus, those who have never heard of Jesus, and babies that die before an opportunity for the Christian sacraments, is dealt with by all the Christian denominations each in their own way. Since these explanations are given many a religious luminary among Christians, by the likes of Saint Thomas Aquinas, ..... Cheers!