When Mirror Defogger is switched on, the electrical current flows through the resistive compound in the product and produces heat by the Joule effect (
http://en.wikipedia.org/wiki/Joule_heating).
This heat, which is transferred to the mirror, raises its temperature (by about 13 °C), which stops it from steaming up.
It works in much the same way as the heated rear window of a car.