Ravens coach John Harbaugh has signed a three-year contract extension through the 2028 season, the team announced Friday.