I have a UA flight number on Air Canada, so my guess is that I'll get base miles on UA and nothing more. I'm e-ticketed with both UA and AC (UA code share) flights on the same itinerary. I'll lose about 800 miles compared to the UA nonstop where I'd get the 100% bonus, but the flight times on the UA nonstop don't work for me.