Improves a code block in in_process_browser_test, avoids the use of FilePath::FromWStringHack and the use of a deprecated function.
Improves a code block in in_process_browser_test, avoids the use of FilePath::FromWStringHack and the use of a deprecated function.

Patch by tfarina.

BUG=None
TEST=run browser_tests.exe 

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


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

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