summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 18:56:25 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 18:56:25 +0000
commitd17634b30cd1bbbb4b1f153bfe628baf52d3c0b0 (patch)
treec86a09926dfeecdc9bc252645d9ebe9617d622b6 /chrome/browser/profile.cc
parent09c1548dfc4628f86898818dbb7c032b278c91d5 (diff)
downloadchromium_src-d17634b30cd1bbbb4b1f153bfe628baf52d3c0b0.zip
chromium_src-d17634b30cd1bbbb4b1f153bfe628baf52d3c0b0.tar.gz
chromium_src-d17634b30cd1bbbb4b1f153bfe628baf52d3c0b0.tar.bz2
"Fix" a NOTIMPLEMENTED on Linux by using the default password store.
We haven't yet resolved how to integrate with OS-native password stores, so printing this NOTIMPLEMENTED isn't helpful. Review URL: http://codereview.chromium.org/308003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index f4e2ed8..8e3e43e 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -1079,14 +1079,12 @@ void ProfileImpl::CreatePasswordStore() {
created_password_store_ = true;
scoped_refptr<PasswordStore> ps;
#if defined(OS_LINUX)
-// Temporarily disabled while we figure some stuff out.
-// http://code.google.com/p/chromium/issues/detail?id=12351
-// if (getenv("KDE_FULL_SESSION")) {
-// ps = new PasswordStoreKWallet();
-// } else {
-// ps = new PasswordStoreGnome();
-// }
- NOTIMPLEMENTED();
+ // TODO(evanm): implement "native" password management.
+ // This bug describes the issues.
+ // http://code.google.com/p/chromium/issues/detail?id=12351
+ ps = new PasswordStoreDefault(GetWebDataService(Profile::IMPLICIT_ACCESS));
+ if (!ps->Init())
+ return;
#elif defined(OS_WIN)
ps = new PasswordStoreWin(GetWebDataService(Profile::IMPLICIT_ACCESS));
#elif defined(OS_MACOSX)