Revert 189300 > Use QuotaFileIO::SetLength instead of PluginDelegate::SetLength. >  > We'd once replaced QuotaFileIO::SetLength with PluginDelegate::SetLength when seccomp sandbox blocks ftruncate call. > And later, ftruncate is allowed by the whitelist of the sandbox. >  > This patch replaces back to QuotaFileIO to improve its performance. >  >  > BUG=194304 >  > Review URL: https://chromiumcodereview.appspot.com/12863003
Revert 189300
> Use QuotaFileIO::SetLength instead of PluginDelegate::SetLength.
> 
> We'd once replaced QuotaFileIO::SetLength with PluginDelegate::SetLength when seccomp sandbox blocks ftruncate call.
> And later, ftruncate is allowed by the whitelist of the sandbox.
> 
> This patch replaces back to QuotaFileIO to improve its performance.
> 
> 
> BUG=194304
> 
> Review URL: https://chromiumcodereview.appspot.com/12863003

TBR=tzik@chromium.org

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

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