Not saying this is what will happen, but Chevron is smart and will hedge there bets. Its not about like or dislike, its about making money. US supermajor oil companies are likely some of the best run companies on earth.
The lawsuit I posted above is about the state trying to take all their profits. If there is no profit in refining in California, then they will stop.
Also, I believe the refineries in California are set up to take a lot of heavy crude from the middle East. In there most recent quarter they missed estimates on refining margins. There also very old refineries and getting crude from the middle east is getting harder. Converting a refinery to a different type of crude takes a year, and where would that crude come from anyway? Might be cheaper to build a new refinery in Houston than ship crude over the rockies.
The list of closed and abandoned production facilities in all industries is long and growing. There is a war on fossil fuels, but at the same time countless states that would give Chevron free land and plenty of tax incentives to build a refinery in their state.
My point is never say never.