In a speech at the National Archives on Thursday , Obama said that the administration is " nearing completion of a thorough review " of the way in which his predecessors invoked the state-secrets privilege .