Fix random crashes in the ChromeFrame automation proxy mock tests. These crashes occur when an ASSERTION fails in these tests which causes the ProxyFactory object instantiated at the beginning of the test suite to be destroyed. For the curious the crash occurs in the UMA sending code in ChromeFrame which attempts to dereference the ChromeFrameHistogramSnapshots pointer which has already been destroyed. It is a member of the ProxyFactory class.
Fix random crashes in the ChromeFrame automation proxy mock tests. These crashes occur when an ASSERTION
fails in these tests which causes the ProxyFactory object instantiated at the beginning of the test suite
to be destroyed. For the curious the crash occurs in the UMA sending code in ChromeFrame which attempts to
dereference the ChromeFrameHistogramSnapshots pointer which has already been destroyed. It is a member
of the ProxyFactory class.

This crash will not occur in real life as the ProxyFactory is a global singleton in ChromeFrame. Temporary
hack to not crash in the test code is to flag the crash metrics object that reporting is active which disables
UMA sends to chrome.

BUG=none
TEST=chrome frame proxy mock tests should not crash.
Review URL: http://codereview.chromium.org/6901072

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

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