A video from 2005 (transcript) was recently released wherein Donald Trump made vulgar comments about women. In his effort to downplay/apologize for his remarks, he has repeatedly labeled his comments as "locker room talk" or "locker room banter". Articles, like one from the NYTimes, have since tried to explain what "locker-room talk" is, but these are from the perspective of what is literally said in a guys' locker room--as opposed to addressing the phrase from an English-language usage perspective.
Does the phrase "locker room talk" have any precedent? If so, has it historically been used to mean what Donald Trump is using it to mean? And what is its history?