diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 22:50:56 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 22:50:56 +0000 |
commit | 034eba52a8404ace1434927d094c2fce2ccea652 (patch) | |
tree | 0651cbceb10fec63abb01a0e0c33d01d9ac16378 /chrome/browser/profile.cc | |
parent | cc09e6d788bcd9f2c3a2b2c32e41be62634c8673 (diff) | |
download | chromium_src-034eba52a8404ace1434927d094c2fce2ccea652.zip chromium_src-034eba52a8404ace1434927d094c2fce2ccea652.tar.gz chromium_src-034eba52a8404ace1434927d094c2fce2ccea652.tar.bz2 |
Turn on the PasswordStoreMac implementation.
BUG=11745
TEST=Passwords from Keychain should be filled once the username field is filled and blurred.
Review URL: http://codereview.chromium.org/119118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 5c50259..f493a42 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -98,6 +98,9 @@ URLRequestContext* Profile::GetDefaultRequestContext() { // #include "chrome/browser/password_manager/password_store_kwallet.h" #elif defined(OS_WIN) #include "chrome/browser/password_manager/password_store_win.h" +#elif defined(OS_MACOSX) +#include "chrome/browser/keychain_mac.h" +#include "chrome/browser/password_manager/password_store_mac.h" #endif //////////////////////////////////////////////////////////////////////////////// @@ -799,6 +802,8 @@ void ProfileImpl::CreatePasswordStore() { NOTIMPLEMENTED(); #elif defined(OS_WIN) ps = new PasswordStoreWin(GetWebDataService(Profile::IMPLICIT_ACCESS)); +#elif defined(OS_MACOSX) + ps = new PasswordStoreMac(new MacKeychain()); #else NOTIMPLEMENTED(); #endif |