By moving the call to Load() up in SearchProvider::Start(), we are giving a chance to initialize TemplateURLService as early as possible. Before the change, Load would be called only if there was a non-empty input. During the startup, there is at least 1 call with empty input.
By moving the call to Load() up in SearchProvider::Start(), we are giving a chance to initialize TemplateURLService as early as possible. Before the change, Load would be called only if there was a non-empty input. During the startup, there is at least 1 call with empty input.

There is a chance this CL may increase startup time, however I have not observed it while running performance UI tests. As discussed with pkasting@, I'm planning to submit this CL and watch performance graphs to make sure we don't regress.

BUG=167381
TEST=Manually ran performance_ui_tests.


Review URL: https://chromiumcodereview.appspot.com/11859042

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

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