OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 27 matching lines...) Expand all Loading... |
38 ~TestPasswordStore() override; | 38 ~TestPasswordStore() override; |
39 | 39 |
40 // PasswordStore interface | 40 // PasswordStore interface |
41 PasswordStoreChangeList AddLoginImpl( | 41 PasswordStoreChangeList AddLoginImpl( |
42 const autofill::PasswordForm& form) override; | 42 const autofill::PasswordForm& form) override; |
43 PasswordStoreChangeList UpdateLoginImpl( | 43 PasswordStoreChangeList UpdateLoginImpl( |
44 const autofill::PasswordForm& form) override; | 44 const autofill::PasswordForm& form) override; |
45 PasswordStoreChangeList RemoveLoginImpl( | 45 PasswordStoreChangeList RemoveLoginImpl( |
46 const autofill::PasswordForm& form) override; | 46 const autofill::PasswordForm& form) override; |
47 ScopedVector<autofill::PasswordForm> FillMatchingLogins( | 47 ScopedVector<autofill::PasswordForm> FillMatchingLogins( |
48 const autofill::PasswordForm& form, | 48 const autofill::PasswordForm& form) override; |
49 PasswordStore::AuthorizationPromptPolicy prompt_policy) override; | |
50 | 49 |
51 // Unused portions of PasswordStore interface | 50 // Unused portions of PasswordStore interface |
52 void ReportMetricsImpl(const std::string& sync_username, | 51 void ReportMetricsImpl(const std::string& sync_username, |
53 bool custom_passphrase_sync_enabled) override; | 52 bool custom_passphrase_sync_enabled) override; |
54 PasswordStoreChangeList RemoveLoginsByOriginAndTimeImpl( | 53 PasswordStoreChangeList RemoveLoginsByOriginAndTimeImpl( |
55 const url::Origin& origin, | 54 const url::Origin& origin, |
56 base::Time begin, | 55 base::Time begin, |
57 base::Time end) override; | 56 base::Time end) override; |
58 PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( | 57 PasswordStoreChangeList RemoveLoginsCreatedBetweenImpl( |
59 base::Time begin, | 58 base::Time begin, |
(...skipping 14 matching lines...) Expand all Loading... |
74 | 73 |
75 private: | 74 private: |
76 PasswordMap stored_passwords_; | 75 PasswordMap stored_passwords_; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore); | 77 DISALLOW_COPY_AND_ASSIGN(TestPasswordStore); |
79 }; | 78 }; |
80 | 79 |
81 } // namespace password_manager | 80 } // namespace password_manager |
82 | 81 |
83 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ | 82 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_TEST_PASSWORD_STORE_H_ |
OLD | NEW |