Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: components/password_manager/core/browser/stub_password_manager_client.h

Issue 1260263002: Move ShouldFilterAutofillResult from ChromePasswordManagerClient to PasswordManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebased Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/stub_password_manager_client.h
diff --git a/components/password_manager/core/browser/stub_password_manager_client.h b/components/password_manager/core/browser/stub_password_manager_client.h
index c887b32cd1ae3b9f6b3744a4c32a1af3b1c291bc..834234ae76bb731664a30ac5b4349b38f952a37c 100644
--- a/components/password_manager/core/browser/stub_password_manager_client.h
+++ b/components/password_manager/core/browser/stub_password_manager_client.h
@@ -21,7 +21,6 @@ class StubPasswordManagerClient : public PasswordManagerClient {
std::string GetSyncUsername() const override;
bool IsSyncAccountCredential(const std::string& username,
const std::string& realm) const override;
- bool ShouldFilterAutofillResult(const autofill::PasswordForm& form) override;
bool PromptUserToSaveOrUpdatePassword(
scoped_ptr<PasswordFormManager> form_to_save,
password_manager::CredentialSourceType type,
@@ -38,6 +37,8 @@ class StubPasswordManagerClient : public PasswordManagerClient {
scoped_ptr<PasswordFormManager> saved_manager) override;
PrefService* GetPrefs() override;
PasswordStore* GetPasswordStore() const override;
+ const GURL& GetLastCommittedEntryURL() const override;
+ scoped_ptr<StoreResultFilter> CreateStoreResultFilter() const override;
private:
DISALLOW_COPY_AND_ASSIGN(StubPasswordManagerClient);

Powered by Google App Engine
This is Rietveld 408576698