Both, and when I bill by the hour I only bill the hours I work. Billing for my breaks would quickly lead to a loss of clients when they saw how much time I spent (and if discovered, I could be disbarred).
But if I had made sure to explain that my hourly rate included breaks, as some do, it actually wouldn't be illegal.