
Makes the result of Futures#chain() cancellable.  It will now be
successfully canceled in these cases:
1. A thread calls cancel(boolean) directly on it and the Future is
currently running.
2. The underlying input Future is cancelled.
3. The Future result of the Function is cancelled.


Revision created by MOE tool push_codebase.
MOE_MIGRATION=134006


git-svn-id: f3e0321eda878ccd901d0724d0624474ed133e78@84 8138a162-5c33-11de-8abc-d1c337b90d21

mkeesey/guava-for-small-classpaths,mosoft521/guava,flowbywind/guava,SaintBacchus/guava,chen870647924/guava-libraries,gmaes/guava,weihungliu/guava,Xaerxess/guava,XiWenRen/guava,fengshao0907/guava-libraries,clcron/guava-libraries,marstianna/guava,manolama/guava,jackyglony/guava,licheng-xd/guava,eidehua/guava,1yvT0s/guava,google/guava,yuan232007/guava,norru/guava,baratali/guava,EdwardLee03/guava,taoguan/guava,scr/guava,typetools/guava,mbarbero/guava-libraries,5A68656E67/guava,Haus1/guava-libraries,xueyin87/guava-libraries,hceylan/guava,cklsoft/guava,m3n78am/guava,witekcc/guava,jayhetee/guava,Balzanka/guava-libraries,xasx/guava,mgedigian/guava-bloom-filter,levenhdu/guava,Balzanka/guava-libraries,dpursehouse/guava,0359xiaodong/guava,AnselQiao/guava,pwz3n0/guava,jakubmalek/guava,GabrielNicolasAvellaneda/guava,5A68656E67/guava,baratali/guava,Overruler/guava-libraries,codershamo/guava,ningg/guava,tailorlala/guava-libraries,sebadiaz/guava,jamesbrowder/guava-libraries,lijunhuayc/guava,qingsong-xu/guava,leogong/guava,okaywit/guava-libraries,thinker-fang/guava,tobecrazy/guava,codershamo/guava,Overruler/guava-libraries,0359xiaodong/guava,aiyanbo/guava,lijunhuayc/guava,mkeesey/guava-for-small-classpaths,aditya-chaturvedi/guava,SyllaJay/guava,yf0994/guava-libraries,ytfei/guava,monokurobo/guava,eidehua/guava,kucci/guava-libraries,lgscofield/guava,jiteshmohan/guava,janus-project/guava.janusproject.io,EdwardLee03/guava,AnselQiao/guava,dnrajugade/guava-libraries,jamesbrowder/guava-libraries,tobecrazy/guava,jedyang/guava,mengdiwang/guava-libraries,google/guava,1yvT0s/guava,kgislsompo/guava-libraries,XiWenRen/guava,fengshao0907/guava,tli2/guava,okaywit/guava-libraries,liyazhou/guava,aiyanbo/guava,BollyCheng/guava,scr/guava,dushmis/guava,jankill/guava,hannespernpeintner/guava,ChengLong/guava,user234/setyon-guava-libraries-clone,Xaerxess/guava,GabrielNicolasAvellaneda/guava,DaveAKing/guava-libraries,sunbeansoft/guava,lisb/guava,DavesMan/guava,kingland/guava,gmaes/guava,jedyang/guava,qingsong-xu/guava,m3n78am/guava,juneJuly/guava,dmi3aleks/guava,paddx01/guava-src,fengshao0907/guava-libraries,KengoTODA/guava,mkodekar/guava-libraries,kaoudis/guava,10045125/guava,aditya-chaturvedi/guava,newrelic/guava-libraries,KengoTODA/guava-libraries,marstianna/guava,rgoldberg/guava,kaoudis/guava,mosoft521/guava,rgoldberg/guava,lowasser/guava-experimental,renchunxiao/guava,nulakasatish/guava-libraries,maidh91/guava-libraries,mkodekar/guava-libraries,Ariloum/guava,jakubmalek/guava,yf0994/guava-libraries,mgalushka/guava,yangxu998/guava-libraries,abel-von/guava,norru/guava,jackyglony/guava,SaintBacchus/guava,rcpoison/guava,dushmis/guava,rob3ns/guava,paplorinc/guava,dnrajugade/guava-libraries,tailorlala/guava-libraries,r4-keisuke/guava,zcwease/guava-libraries,typetools/guava,DucQuang1/guava,yanyongshan/guava,npvincent/guava,HarveyTvT/guava,cogitate/guava-libraries,huangsihuan/guava,allenprogram/guava,mbarbero/guava-libraries,xueyin87/guava-libraries,njucslqq/guava,juneJuly/guava,fengshao0907/guava,BollyCheng/guava,hannespernpeintner/guava,dubu/guava-libraries,sensui/guava-libraries,rob3ns/guava,dubu/guava-libraries,Yijtx/guava,rcpoison/guava,maidh91/guava-libraries.jdk5backport,DaveAKing/guava-libraries,cklsoft/guava,renchunxiao/guava,clcron/guava-libraries,berndhopp/guava,disc99/guava,user234/setyon-guava-libraries-clone,kucci/guava-libraries,HarveyTvT/guava,chen870647924/guava-libraries,ceosilvajr/guava,levenhdu/guava,jiteshmohan/guava,nulakasatish/guava-libraries,leesir/guava,ytfei/guava,Akshay77/guava,VikingDen/guava,jankill/guava,yigubigu/guava,maidh91/guava-libraries.jdk5backport,tunzao/guava,witekcc/guava,GitHub4Lgfei/guava,paplorinc/guava,leesir/guava,Ariloum/guava,npvincent/guava,mohanaraosv/guava,RoliMG/guava,mosoft521/guava,mway08/guava,leogong/guava,montycheese/guava,lgscofield/guava,paddx01/guava-src,mengdiwang/guava-libraries,danielnorberg/guava-libraries,maidh91/guava-libraries,janus-project/guava.janusproject.io,monokurobo/guava,sander120786/guava-libraries,taoguan/guava,seanli310/guava,cgdecker/guava,easyfmxu/guava,yangxu998/guava-libraries,ignaciotcrespo/guava,elijah513/guava,mgalushka/guava,VikingDen/guava,Ranjodh-Singh/ranjodh87-guavalib,Ranjodh-Singh/ranjodh87-guavalib,sebadiaz/guava,allalizaki/guava-libraries,easyfmxu/guava,huangsihuan/guava,sander120786/guava-libraries,anigeorge/guava,lisb/guava,yuan232007/guava,mohanaraosv/guava,njucslqq/guava,sensui/guava-libraries,tli2/guava,KengoTODA/guava,tunzao/guava,xasx/guava,yanyongshan/guava,allalizaki/guava-libraries,sunbeansoft/guava,anigeorge/guava,KengoTODA/guava-libraries,Haus1/guava-libraries,Akshay77/guava,abel-von/guava,disc99/guava,dpursehouse/guava,DavesMan/guava,newrelic/guava-libraries,ben-manes/guava,Kevin2030/guava,hceylan/guava,allenprogram/guava,yigubigu/guava,Yijtx/guava,liyazhou/guava,jsnchen/guava,ignaciotcrespo/guava,elijah513/guava,ningg/guava,kingland/guava,flowbywind/guava,gvikei/guava-libraries,seanli310/guava,uschindler/guava,thinker-fang/guava,cogitate/guava-libraries,r4-keisuke/guava,manolama/guava,lowasser/guava-experimental,gvikei/guava-libraries,jayhetee/guava,sarvex/guava,montycheese/guava,pwz3n0/guava,zcwease/guava-libraries,SyllaJay/guava,kgislsompo/guava-libraries,google/guava,DucQuang1/guava,binhvu7/guava,GitHub4Lgfei/guava,Kevin2030/guava,berndhopp/guava,ChengLong/guava,mway08/guava,jsnchen/guava,licheng-xd/guava,weihungliu/guava,RoliMG/guava