Modifies the Firefox import behavior such that if we're in first run, the importer is headless, and we're only importing the home page, skip the Firefox lock. Otherwise, the process would silently wait for Firefox to close with no warnings.
Modifies the Firefox import behavior such that if we're in first run, the importer is headless, and we're only importing the home page, skip the Firefox lock.
Otherwise, the process would silently wait for Firefox to close with no warnings.

BUG=18709
TEST=set "import_home_page" : true, "skip_first_run_ui" : true in the master_preferences, and run without FirstRun.  Import should not block.

Review URL: http://codereview.chromium.org/174057

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@26221 0039d316-1c4b-4281-b951-d872f2087c98

fujunwei/chromium-crosswalk,hujiajie/pa-chromium,ltilve/chromium,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,dushu1203/chromium.src,timopulkkinen/BubbleFish,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,mogoweb/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,robclark/chromium,jaruba/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,rogerwang/chromium,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,markYoungH/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,axinging/chromium-crosswalk,rogerwang/chromium,chuan9/chromium-crosswalk,krieger-od/nwjs_chromium.src,littlstar/chromium.src,keishi/chromium,ltilve/chromium,ltilve/chromium,krieger-od/nwjs_chromium.src,robclark/chromium,krieger-od/nwjs_chromium.src,hgl888/chromium-crosswalk,ltilve/chromium,markYoungH/chromium.src,littlstar/chromium.src,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,robclark/chromium,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,M4sse/chromium.src,nacl-webkit/chrome_deps,ltilve/chromium,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,dednal/chromium.src,keishi/chromium,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,robclark/chromium,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk,markYoungH/chromium.src,nacl-webkit/chrome_deps,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ondra-novak/chromium.src,anirudhSK/chromium,littlstar/chromium.src,patrickm/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,rogerwang/chromium,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,Fireblend/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk-efl,robclark/chromium,ondra-novak/chromium.src,ChromiumWebApps/chromium,dushu1203/chromium.src,keishi/chromium,PeterWangIntel/chromium-crosswalk,zcbenz/cefode-chromium,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,Jonekee/chromium.src,ltilve/chromium,M4sse/chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,M4sse/chromium.src,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,jaruba/chromium.src,jaruba/chromium.src,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,TheTypoMaster/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,dushu1203/chromium.src,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,hujiajie/pa-chromium,ondra-novak/chromium.src,axinging/chromium-crosswalk,hujiajie/pa-chromium,Just-D/chromium-1,patrickm/chromium.src,Jonekee/chromium.src,mogoweb/chromium-crosswalk,dednal/chromium.src,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,axinging/chromium-crosswalk,krieger-od/nwjs_chromium.src,jaruba/chromium.src,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,dednal/chromium.src,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,M4sse/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Chilledheart/chromium,jaruba/chromium.src,axinging/chromium-crosswalk,patrickm/chromium.src,M4sse/chromium.src,mogoweb/chromium-crosswalk,rogerwang/chromium,dednal/chromium.src,axinging/chromium-crosswalk,patrickm/chromium.src,nacl-webkit/chrome_deps,keishi/chromium,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,patrickm/chromium.src,M4sse/chromium.src,nacl-webkit/chrome_deps,jaruba/chromium.src,littlstar/chromium.src,zcbenz/cefode-chromium,keishi/chromium,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,dednal/chromium.src,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,anirudhSK/chromium,rogerwang/chromium,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,ondra-novak/chromium.src,ondra-novak/chromium.src,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,dushu1203/chromium.src,littlstar/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,patrickm/chromium.src,timopulkkinen/BubbleFish,anirudhSK/chromium,M4sse/chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,Chilledheart/chromium,Jonekee/chromium.src,Fireblend/chromium-crosswalk,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,rogerwang/chromium,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,robclark/chromium,dednal/chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,mohamed--abdel-maksoud/chromium.src,keishi/chromium,chuan9/chromium-crosswalk,ondra-novak/chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,Pluto-tv/chromium-crosswalk,keishi/chromium,rogerwang/chromium,robclark/chromium,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,Jonekee/chromium.src,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,hujiajie/pa-chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,timopulkkinen/BubbleFish,ondra-novak/chromium.src,fujunwei/chromium-crosswalk,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,nacl-webkit/chrome_deps,Chilledheart/chromium,mohamed--abdel-maksoud/chromium.src,fujunwei/chromium-crosswalk,Chilledheart/chromium,dushu1203/chromium.src,markYoungH/chromium.src,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,hujiajie/pa-chromium,hujiajie/pa-chromium,Jonekee/chromium.src,Just-D/chromium-1,zcbenz/cefode-chromium,chuan9/chromium-crosswalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,Just-D/chromium-1,Just-D/chromium-1,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,markYoungH/chromium.src,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,chuan9/chromium-crosswalk,anirudhSK/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,chuan9/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,rogerwang/chromium,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,ChromiumWebApps/chromium,Jonekee/chromium.src,dednal/chromium.src,zcbenz/cefode-chromium,timopulkkinen/BubbleFish,crosswalk-project/chromium-crosswalk-efl,robclark/chromium,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,dednal/chromium.src,Chilledheart/chromium,anirudhSK/chromium,markYoungH/chromium.src,timopulkkinen/BubbleFish,anirudhSK/chromium,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,keishi/chromium,zcbenz/cefode-chromium,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,rogerwang/chromium,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,keishi/chromium,axinging/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,ltilve/chromium,robclark/chromium,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,littlstar/chromium.src,jaruba/chromium.src,keishi/chromium,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,Just-D/chromium-1,Fireblend/chromium-crosswalk