| Index: components/password_manager/core/browser/password_manager_client.h
|
| diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
|
| index a8f28920b2105e880da0a92d2e9b0e83127e4289..609d0243eba6a6406865cc63bb6816731c68a468 100644
|
| --- a/components/password_manager/core/browser/password_manager_client.h
|
| +++ b/components/password_manager/core/browser/password_manager_client.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/memory/scoped_vector.h"
|
| #include "components/autofill/core/common/password_form.h"
|
| #include "components/password_manager/core/browser/password_store.h"
|
| +#include "components/password_manager/sync/browser/sync_store_result_filter.h"
|
|
|
| class PrefService;
|
|
|
| @@ -59,10 +60,6 @@ class PasswordManagerClient {
|
| // of SSL errors on a page.
|
| virtual bool IsSavingEnabledForCurrentPage() const;
|
|
|
| - // Return true if |form| should not be available for autofill.
|
| - virtual bool ShouldFilterAutofillResult(
|
| - const autofill::PasswordForm& form) = 0;
|
| -
|
| // Return the username that the user is syncing with. Should return an empty
|
| // string if sync is not enabled for passwords.
|
| virtual std::string GetSyncUsername() const = 0;
|
| @@ -72,10 +69,6 @@ class PasswordManagerClient {
|
| virtual bool IsSyncAccountCredential(const std::string& username,
|
| const std::string& realm) const = 0;
|
|
|
| - // Called when all autofill results have been computed. Client can use
|
| - // this signal to report statistics. Default implementation is a noop.
|
| - virtual void AutofillResultsComputed();
|
| -
|
| // Informs the embedder of a password form that can be saved if the user
|
| // allows it. The embedder is not required to prompt the user if it decides
|
| // that this form doesn't need to be saved.
|
| @@ -171,6 +164,13 @@ class PasswordManagerClient {
|
| // Returns the main frame URL.
|
| virtual const GURL& GetMainFrameURL() const;
|
|
|
| + virtual const GURL& GetLastCommittedEntryURL() const = 0;
|
| +
|
| + // Creates a single-use filter for PasswordFormManager to process password
|
| + // store response.
|
| + virtual scoped_ptr<password_manager::StoreResultFilter>
|
| + CreateStoreResultFilter() const = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
|
| };
|
|
|