| 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_LOGIN_DATABASE_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // username_element, username_value, password_element, signon_realm}. | 44 // username_element, username_value, password_element, signon_realm}. |
| 45 // These columns stay intact. | 45 // These columns stay intact. |
| 46 PasswordStoreChangeList UpdateLogin(const autofill::PasswordForm& form); | 46 PasswordStoreChangeList UpdateLogin(const autofill::PasswordForm& form); |
| 47 | 47 |
| 48 // Removes |form| from the list of remembered password forms. | 48 // Removes |form| from the list of remembered password forms. |
| 49 bool RemoveLogin(const autofill::PasswordForm& form); | 49 bool RemoveLogin(const autofill::PasswordForm& form); |
| 50 | 50 |
| 51 // Removes all logins created from |delete_begin| onwards (inclusive) and | 51 // Removes all logins created from |delete_begin| onwards (inclusive) and |
| 52 // before |delete_end|. You may use a null Time value to do an unbounded | 52 // before |delete_end|. You may use a null Time value to do an unbounded |
| 53 // delete in either direction. | 53 // delete in either direction. |
| 54 bool RemoveLoginsCreatedBetween(const base::Time delete_begin, | 54 bool RemoveLoginsCreatedBetween(base::Time delete_begin, |
| 55 const base::Time delete_end); | 55 base::Time delete_end); |
| 56 | 56 |
| 57 // Removes all logins synced from |delete_begin| onwards (inclusive) and | 57 // Removes all logins synced from |delete_begin| onwards (inclusive) and |
| 58 // before |delete_end|. You may use a null Time value to do an unbounded | 58 // before |delete_end|. You may use a null Time value to do an unbounded |
| 59 // delete in either direction. | 59 // delete in either direction. |
| 60 bool RemoveLoginsSyncedBetween(base::Time delete_begin, | 60 bool RemoveLoginsSyncedBetween(base::Time delete_begin, |
| 61 base::Time delete_end); | 61 base::Time delete_end); |
| 62 | 62 |
| 63 // Loads a list of matching password forms into the specified vector |forms|. | 63 // Loads a list of matching password forms into the specified vector |forms|. |
| 64 // The list will contain all possibly relevant entries to the observed |form|, | 64 // The list will contain all possibly relevant entries to the observed |form|, |
| 65 // including blacklisted matches. | 65 // including blacklisted matches. |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 sql::MetaTable meta_table_; | 147 sql::MetaTable meta_table_; |
| 148 | 148 |
| 149 PSLMatchingHelper psl_helper_; | 149 PSLMatchingHelper psl_helper_; |
| 150 | 150 |
| 151 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); | 151 DISALLOW_COPY_AND_ASSIGN(LoginDatabase); |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 } // namespace password_manager | 154 } // namespace password_manager |
| 155 | 155 |
| 156 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ | 156 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_LOGIN_DATABASE_H_ |
| OLD | NEW |