Chromium Code Reviews| Index: chrome/browser/password_manager/simple_password_store_mac.cc | 
| diff --git a/chrome/browser/password_manager/simple_password_store_mac.cc b/chrome/browser/password_manager/simple_password_store_mac.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..163a1b81874ba49e58760a77917f2166e847ebe5 | 
| --- /dev/null | 
| +++ b/chrome/browser/password_manager/simple_password_store_mac.cc | 
| @@ -0,0 +1,32 @@ | 
| +// Copyright 2015 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#include "chrome/browser/password_manager/simple_password_store_mac.h" | 
| + | 
| +SimplePasswordStoreMac::SimplePasswordStoreMac( | 
| + scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, | 
| + scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner, | 
| + scoped_ptr<password_manager::LoginDatabase> login_db) | 
| + : PasswordStoreDefault(main_thread_runner, nullptr, login_db.Pass()), | 
| 
 
Garrett Casto
2015/06/22 08:24:08
I'm not sure I understand what you are doing with
 
vasilii
2015/06/22 13:34:17
Yes. I was experimenting with clearing |background
 
 | 
| + background_thread_runner_(background_thread_runner) { | 
| + this->login_db()->set_clear_password_values(false); | 
| +} | 
| + | 
| +SimplePasswordStoreMac::~SimplePasswordStoreMac() { | 
| +} | 
| + | 
| +bool SimplePasswordStoreMac::Init( | 
| + const syncer::SyncableService::StartSyncFlare& flare) { | 
| + // All the initialization has to be done by the owner of the object. | 
| 
 
Garrett Casto
2015/06/22 08:24:08
This doesn't seem to agree with PasswordStoreProxy
 
vasilii
2015/06/22 13:34:17
Yes. PasswordStoreProxyMac instantiate only Passwo
 
 | 
| + return true; | 
| +} | 
| + | 
| +void SimplePasswordStoreMac::Shutdown() { | 
| + PasswordStoreDefault::Shutdown(); | 
| +} | 
| + | 
| +scoped_refptr<base::SingleThreadTaskRunner> | 
| +SimplePasswordStoreMac::GetBackgroundTaskRunner() { | 
| + return background_thread_runner_; | 
| +} |