| Index: components/password_manager/core/browser/affiliated_match_helper.h
|
| diff --git a/components/password_manager/core/browser/affiliated_match_helper.h b/components/password_manager/core/browser/affiliated_match_helper.h
|
| index a13e9ea2e76624f515c6ff0b637ccdc3a51da83c..4d3017af937810075341a5be43112956da086d56 100644
|
| --- a/components/password_manager/core/browser/affiliated_match_helper.h
|
| +++ b/components/password_manager/core/browser/affiliated_match_helper.h
|
| @@ -81,6 +81,13 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
|
| const autofill::PasswordForm& android_form,
|
| const AffiliatedRealmsCallback& result_callback);
|
|
|
| + // Retrieves realms of web sites affiliated with the Android credentials in
|
| + // |forms|, sets realms to form's |affiliated_web_realm| and invokes
|
| + // |result_callback|.
|
| + void FillAffiliatedWebRealms(
|
| + const ScopedVector<autofill::PasswordForm>& forms,
|
| + const base::Closure& result_callback);
|
| +
|
| // Removes cached affiliation data that is no longer needed.
|
| void TrimAffiliationCache();
|
|
|
| @@ -125,6 +132,14 @@ class AffiliatedMatchHelper : public PasswordStore::Observer,
|
| const AffiliatedFacets& results,
|
| bool success);
|
|
|
| + // Called back by AffiliationService to supply the list of facets affiliated
|
| + // with the Android credentials in |form|. Sets |form->affiliated_web_realm|,
|
| + // if |success| is true and |results| is non-empty. Invokes |barrier_closure|.
|
| + void FillAffiliatedWebRealm(autofill::PasswordForm* form,
|
| + base::Closure barrier_closure,
|
| + const AffiliatedFacets& results,
|
| + bool success);
|
| +
|
| // PasswordStore::Observer:
|
| void OnLoginsChanged(const PasswordStoreChangeList& changes) override;
|
|
|
|
|