| Index: components/password_manager/core/browser/login_database.h
|
| diff --git a/components/password_manager/core/browser/login_database.h b/components/password_manager/core/browser/login_database.h
|
| index ac6bd0be6349d353d8421c7854e40c7a197d4b7f..b3b09389219eac0e8298fcaa08fc5ae242c02858 100644
|
| --- a/components/password_manager/core/browser/login_database.h
|
| +++ b/components/password_manager/core/browser/login_database.h
|
| @@ -62,13 +62,13 @@ class LoginDatabase {
|
|
|
| // Loads a list of matching password forms into the specified vector |forms|.
|
| // The list will contain all possibly relevant entries to the observed |form|,
|
| - // including blacklisted matches.
|
| + // including blacklisted matches. The caller owns |forms| after the call.
|
| bool GetLogins(const autofill::PasswordForm& form,
|
| std::vector<autofill::PasswordForm*>* forms) const;
|
|
|
| // Loads all logins created from |begin| onwards (inclusive) and before |end|.
|
| // You may use a null Time value to do an unbounded search in either
|
| - // direction.
|
| + // direction. The caller owns |forms| after the call.
|
| bool GetLoginsCreatedBetween(
|
| base::Time begin,
|
| base::Time end,
|
| @@ -76,18 +76,19 @@ class LoginDatabase {
|
|
|
| // Loads all logins synced from |begin| onwards (inclusive) and before |end|.
|
| // You may use a null Time value to do an unbounded search in either
|
| - // direction.
|
| + // direction. The caller owns |forms| after the call.
|
| bool GetLoginsSyncedBetween(
|
| base::Time begin,
|
| base::Time end,
|
| std::vector<autofill::PasswordForm*>* forms) const;
|
|
|
| // Loads the complete list of autofillable password forms (i.e., not blacklist
|
| - // entries) into |forms|.
|
| + // entries) into |forms|. The caller owns |forms| after the call.
|
| bool GetAutofillableLogins(
|
| std::vector<autofill::PasswordForm*>* forms) const;
|
|
|
| - // Loads the complete list of blacklist forms into |forms|.
|
| + // Loads the complete list of blacklist forms into |forms|. The caller owns
|
| + // |forms| after the call.
|
| bool GetBlacklistLogins(
|
| std::vector<autofill::PasswordForm*>* forms) const;
|
|
|
|
|