Do not validity check safe-browsing store if not opened.
commit0cb8410651a5d1149285d3baa54fe124bbb86d47
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Apr 2012 03:35:13 +0000 (25 03:35 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 25 Apr 2012 03:35:13 +0000 (25 03:35 +0000)
tree7bae4f7a5d614d2e69e4bba788dbf8baa2dcc0ab
parent0a133c0a8ebe9687e0427b44ff5724b07d523955
Do not validity check safe-browsing store if not opened.

In case of corruptions, the state of empty_ versus file_ may not be
what was expected.

BUG=124907
TEST=See bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133860 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/safe_browsing/safe_browsing_store_file.cc