Companies like DoorDash, Grub Hub, Postmates and Uber Eats must sign formal agreements with local restaurants before advertising food delivery to customers.