Attempt 3 at landing this patch. The previous attempts caused compile failures on the windows builders. The errors were around using __try __except in code which had C++ objects. The latest attempt works around this issue by just handling the exception and returning. The processes are terminated by the caller.
Attempt 3 at landing this patch. The previous attempts caused compile failures on the windows builders. The
errors were around using __try __except in code which had C++ objects. The latest attempt works around this
issue by just handling the exception and returning. The processes are terminated by the caller.

Prevent extract build failures on the ChromeFrame builders caused when the
chrome frame tests executable crashes while running a test by register an exception handler
and terminating the relevant processes.

BUG=none
TEST=none
TBR=amit

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

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

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