Simple fix correcting the lifetime scope of automated url request jobs during chrome-initiated xmlhttprequest aborts.  Two similar problems are fixed by this CL.
Simple fix correcting the lifetime scope of automated url request jobs during chrome-initiated xmlhttprequest aborts.  Two similar problems are fixed by this CL.

I found a race condition during the early-termination processing of the NpapiUrlRequest objects.  If NpapiUrlRequest::Stop is invoked before NpapiUrlRequest::OnStreamCreated, then it is possible that a new stream will be created on the Chrome-Frame side, for which an operation that has been officially cancelled within Chrome.  The fix is to add a new parameter fo the NPAPIUrlRequest, stop_requested_ that is used to track this behaviour.  If a new stream is created on a request that has been stopped, then that stream is immediately destroyed, without notification back to Chrome.

If Chrome requests an abort of a url request, then Chrome-Frame should not send any notifications back to Chrome concerning the tear-down of that request.  The delegate is revoked in NPAPIUrlRequest::Stop to achieve this behaviour.

BUG=None
TEST=None

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

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

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