ProfileManager::GetLastUsedProfile should only return profiles it manages.
ProfileManager::GetLastUsedProfile should only return profiles it manages.

Mac shutdown uses GetLastUsedProfile, which in live_sync_tests unfortunately grabs a test Profile, which wasn't managed by ProfileManager.

BUG=90725
TEST=mac sync_integration_tests don't crash; other tests aren't broken

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

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

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