When we flew Heathrow - San Francisco via O'Hare with American Airlines, we had to collect our bags at O'Hare and take them to the domestic baggage hall ourselves. On the return flights they were transferred automatically.
Both legs were with AA and the check in at Heathrow told us to do this.