The systems basically work the same: a series of cameras, lasers or infrared sensors integrated into the car (on the back side of the rear-view mirror, in the bumper or behind the windshield, for instance) monitors lane markings in the road.
For instance, Google will ban developers from distributing their client software outside of the Google Mirror API Client distribution channel for Glass.