The pivotal bathroom duel in Half-Blood Prince involves three people:
Severus Snape arrives after the Sectumsempra curse, making him the fourth presence. If you meant the Chamber of Secrets bathroom (Polyjuice brewing), the trio is Harry, Ron, and Hermione (with Myrtle haunting).