OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/password_manager/simple_password_store_mac.h" | 5 #include "chrome/browser/password_manager/simple_password_store_mac.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 SimplePasswordStoreMac::SimplePasswordStoreMac( | 9 SimplePasswordStoreMac::SimplePasswordStoreMac( |
10 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, | 10 scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner, |
(...skipping 13 matching lines...) Expand all Loading... |
24 scoped_refptr<base::SingleThreadTaskRunner> background_task_runner, | 24 scoped_refptr<base::SingleThreadTaskRunner> background_task_runner, |
25 std::unique_ptr<password_manager::LoginDatabase> login_db) { | 25 std::unique_ptr<password_manager::LoginDatabase> login_db) { |
26 db_thread_runner_ = background_task_runner; | 26 db_thread_runner_ = background_task_runner; |
27 DCHECK(GetBackgroundTaskRunner()->BelongsToCurrentThread()); | 27 DCHECK(GetBackgroundTaskRunner()->BelongsToCurrentThread()); |
28 set_login_db(std::move(login_db)); | 28 set_login_db(std::move(login_db)); |
29 if (this->login_db()) | 29 if (this->login_db()) |
30 this->login_db()->set_clear_password_values(false); | 30 this->login_db()->set_clear_password_values(false); |
31 } | 31 } |
32 | 32 |
33 bool SimplePasswordStoreMac::Init( | 33 bool SimplePasswordStoreMac::Init( |
34 const syncer::SyncableService::StartSyncFlare& flare) { | 34 const syncer::SyncableService::StartSyncFlare& flare, |
| 35 PrefService* prefs) { |
35 NOTREACHED(); | 36 NOTREACHED(); |
36 return false; | 37 return false; |
37 } | 38 } |
OLD | NEW |