According to Bronsted Lowry theory, an acid is any species that is able to donate a proton H+ and a base is any species that is able to receive a proton H+.
If water becomes H3O+, it means that it received a proton, which also means that it is labeled a base.