Handle time overflow more gracefully in base/time_posix.cc.  Instead of asserting when encountering time overflow, use the most distant future or past time representation possible.  This fixes assertions that occur when handling cookies that expire well in the future. Review URL: http://codereview.chromium.org/8771
Handle time overflow more gracefully in base/time_posix.cc.  Instead of
asserting when encountering time overflow, use the most distant future or past
time representation possible.  This fixes assertions that occur when handling
cookies that expire well in the future.
Review URL: http://codereview.chromium.org/8771

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

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