OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/test_password_store.h" | 5 #include "chrome/browser/password_manager/test_password_store.h" |
6 | 6 |
7 #include "content/public/common/password_form.h" | 7 #include "content/public/common/password_form.h" |
8 | 8 |
9 // static | 9 // static |
10 scoped_refptr<RefcountedProfileKeyedService> TestPasswordStore::Create( | 10 scoped_refptr<RefcountedBrowserContextKeyedService> TestPasswordStore::Create( |
11 content::BrowserContext* profile) { | 11 content::BrowserContext* profile) { |
12 return make_scoped_refptr(new TestPasswordStore); | 12 return make_scoped_refptr(new TestPasswordStore); |
13 } | 13 } |
14 | 14 |
15 TestPasswordStore::TestPasswordStore() : PasswordStore() {} | 15 TestPasswordStore::TestPasswordStore() : PasswordStore() {} |
16 TestPasswordStore::~TestPasswordStore() {} | 16 TestPasswordStore::~TestPasswordStore() {} |
17 | 17 |
18 TestPasswordStore::PasswordMap TestPasswordStore::stored_passwords() { | 18 TestPasswordStore::PasswordMap TestPasswordStore::stored_passwords() { |
19 return stored_passwords_; | 19 return stored_passwords_; |
20 } | 20 } |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 bool TestPasswordStore::FillAutofillableLogins( | 84 bool TestPasswordStore::FillAutofillableLogins( |
85 std::vector<content::PasswordForm*>* forms) { | 85 std::vector<content::PasswordForm*>* forms) { |
86 return true; | 86 return true; |
87 } | 87 } |
88 | 88 |
89 bool TestPasswordStore::FillBlacklistLogins( | 89 bool TestPasswordStore::FillBlacklistLogins( |
90 std::vector<content::PasswordForm*>* forms) { | 90 std::vector<content::PasswordForm*>* forms) { |
91 return true; | 91 return true; |
92 } | 92 } |
OLD | NEW |