A former San Diego-based U.S. Customs and Border Protection officer was sentenced Friday to 15 years in prison.