As we all know, in our timeline, the Japanese had planned to attack Pearl Harbor, but they made the decision to attack San Francisco instead.
The Battle of San Francisco was intense. The Japanese actually managed to drive inland as far as Sacramento before they were turned back.
The attack on the US West Coast ended up ruining the Japanese war effort, and they fell to the US in 1943, allowing the Americans to focus entirely on Germany. The war in Europe ended on April 2, 1945, when the B-29 bomber Enola Gay dropped a Little Boy atomic bomb on Berlin, killing Adolf Hitler.
Now, how would the war have gone had the Japanese chosen to attack Pearl Harbor instead?