Handle gracefully the case when LoginDatabase::Init failed.
commit780794fcf72c577dae5bd46bf8acef12916b6f01
authorvasilii <vasilii@chromium.org>
Tue, 30 Jun 2015 14:27:18 +0000 (30 07:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 14:27:59 +0000 (30 14:27 +0000)
tree11d30348cc68658b4df91e9c8611e0db3c8a8902
parentcc60851f79535da41bc91c5ed7028b075ebe0f1f
Handle gracefully the case when LoginDatabase::Init failed.

PasswordStoreMac::login_metadata_db_ should not store a dangling pointer.

BUG=505594

Review URL: https://codereview.chromium.org/1221643011

Cr-Commit-Position: refs/heads/master@{#336778}
chrome/browser/password_manager/password_store_mac.cc
chrome/browser/password_manager/password_store_mac.h
chrome/browser/password_manager/password_store_mac_unittest.cc
chrome/browser/password_manager/password_store_proxy_mac.cc
chrome/browser/password_manager/password_store_proxy_mac_unittest.cc