Boot prefetch optimization for Chrome Frame (experimental)
Boot prefetch optimization for Chrome Frame (experimental)

If chrome is warmed up during a single reboot, it gets paged
in for subsequent reboots and the cold startup times essentially
look like warm times thereafter! The 'warm up' is done by
setting up a 'RunOnce' key during DLLRegisterServer of 
npchrome_frame.dll.

This works because chrome prefetch becomes part of boot
prefetch file ntosboot-b00dfaad.pf and paged in on subsequent
reboots. As long as the sytem does not undergo significant 
memory pressure those pages remain in memory and we get pretty
amazing startup times, down to about 300 ms from 1200 ms

The downside is:
- Whether chrome frame is used or not, there's a read penalty
  (1200-300 =) 900 ms for every boot.
- Heavy system memory usage after reboot will nullify the benefits
  but the user will still pay the cost.
- Overall the time saved will always be less than total time spent
  paging in chrome
- We are not sure when the chrome 'warm up' will age out from the
  boot prefetch file.

The idea here is to try this out on chrome frame dev channel
and see if it produces a significant drift in startup numbers.


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

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

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