Linux: attempt to write a dummy value to the native password store to get it to unlock when there are no passwords to migrate into it on startup. This avoids sometimes choosing the unencrypted store on startup if the native store was locked, and may be related to bugs 80727, 78675, and 80738. BUG=80727,78675,80738 TEST=starting linux chrome with locked keyring should always prompt to unlock the first time the password store is used, e.g. by sync or chrome://settings/passwords Review URL: http://codereview.chromium.org/6902187
Linux: attempt to write a dummy value to the native password store to get it to
unlock when there are no passwords to migrate into it on startup. This avoids
sometimes choosing the unencrypted store on startup if the native store was
locked, and may be related to bugs 80727, 78675, and 80738.
BUG=80727,78675,80738
TEST=starting linux chrome with locked keyring should always prompt to unlock the first time the password store is used, e.g. by sync or chrome://settings/passwords
Review URL: http://codereview.chromium.org/6902187

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

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