She takes over the post just as military service leaders are facing pressure to change how they prosecute sexual assaults and other crimes.