Most shaving mirrors are compact and designed for travel, so there should not be a problem taking them on a plane. Mirrors are generally allowed in carry-on luggage as long as they fit; larger ones should be checked in.
The final decision rests with the TSA officer on whether an item is allowed through the checkpoint. Different airlines have different policies, so it is best to check with your airline first. See the TSA list of allowed and prohibited items.