Any idea what happens if the parents cannot agree on a name? Marriage is all but done, still living together.

I’ve searched google but found nothing. Am in Canada, having baby in two weeks.