The Los Angeles Chargers have agreed to terms with Rams defensive coordinator Brandon Staley to be their next head coach.