On some slow machines, like the virtual machine of Vista 64 and Windows 7, the ping always take more than 100 ms. And retrying 100 times the same operation is never a good idea. So i'm waiting 1 sec instead of 100ms, and i retry 10 times only.
On some slow machines, like the virtual machine of Vista 64
and Windows 7, the ping always take more than 100 ms. And retrying
100 times the same operation is never a good idea. So i'm waiting
1 sec instead of 100ms, and i retry 10 times only.

And there was extranous err checks, I'm not sure why they were
there. Was there a line missing there?
Review URL: http://codereview.chromium.org/40282

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

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