Change CreateHistoryStateForURL so that it does not call into WebKit.
Change CreateHistoryStateForURL so that it does not call into WebKit.

This avoids problems related to using WebKit on the browser UI thread.
In particular, it avoids the need to initialize WebKit in unit tests.

R=sky
BUG=none
TEST=none

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

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

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