WASHINGTON - Just hours before announcing an escalated campaign against Islamic extremists last week, President Obama privately reflected on another time when a president weighed military action in the Middle East - the frenzied weeks leading up to the American invasion of Iraq a decade ago.