Fix logic for detection of config change during UMA logging
Fix logic for detection of config change during UMA logging

While doing UMA logging for sync, there is logic in place to detect if a config has changed before actually logging it. This patch fixes the edge case when we must detect that a datatype has been re-enabled after originally being disabled.

BUG=96507
TEST=Enable a custom set of sync datatypes, then enable a datatype that was originally disabled and check about:histograms


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

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

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