Move updatePopupUrl to ChromeBrowserApi.