 Chromium Code Reviews
 Chromium Code Reviews Issue 1192963002:
  Implement PasswordStoreProxyMac and SimplePasswordStoreMac.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1192963002:
  Implement PasswordStoreProxyMac and SimplePasswordStoreMac.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/password_manager/simple_password_store_mac.h" | |
| 6 | |
| 7 SimplePasswordStoreMac::SimplePasswordStoreMac( | |
| 8 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, | |
| 9 scoped_refptr<base::SingleThreadTaskRunner> background_thread_runner, | |
| 10 scoped_ptr<password_manager::LoginDatabase> login_db) | |
| 11 : 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
 | |
| 12 background_thread_runner_(background_thread_runner) { | |
| 13 this->login_db()->set_clear_password_values(false); | |
| 14 } | |
| 15 | |
| 16 SimplePasswordStoreMac::~SimplePasswordStoreMac() { | |
| 17 } | |
| 18 | |
| 19 bool SimplePasswordStoreMac::Init( | |
| 20 const syncer::SyncableService::StartSyncFlare& flare) { | |
| 21 // 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
 | |
| 22 return true; | |
| 23 } | |
| 24 | |
| 25 void SimplePasswordStoreMac::Shutdown() { | |
| 26 PasswordStoreDefault::Shutdown(); | |
| 27 } | |
| 28 | |
| 29 scoped_refptr<base::SingleThreadTaskRunner> | |
| 30 SimplePasswordStoreMac::GetBackgroundTaskRunner() { | |
| 31 return background_thread_runner_; | |
| 32 } | |
| OLD | NEW |