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()), |
| 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. |
| 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 |