[BrowserSwitcher] Fix cache.dat race condition with extension
When disabled, built-in LBS deletes cache.dat on startup, even if the LBS extension is also installed. Depending on the order things happen in, this may cause built-in LBS to delete the extension's cache.dat file, which is needed for IE=>Chrome switching to work correctly. After this change, built-in LBS keeps cache.dat and sitelistcache.dat if the extension is enabled. Bug: 1000099 Change-Id: I2ecf2f0942fe5888da43b49927cf2734f6e4ae00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1829478 Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Reviewed-by:Julian Pastarmov <pastarmovj@chromium.org> Cr-Commit-Position: refs/heads/master@{#701196}
Showing
Please register or sign in to comment