An earthquake off the coast of northern California prompted a tsunami warning for southern Oregon coast Thursday.