| 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 CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 const CredentialsCallback& callback) override; | 61 const CredentialsCallback& callback) override; |
| 62 void ForceSavePassword() override; | 62 void ForceSavePassword() override; |
| 63 void GeneratePassword() override; | 63 void GeneratePassword() override; |
| 64 void NotifyUserAutoSignin( | 64 void NotifyUserAutoSignin( |
| 65 ScopedVector<autofill::PasswordForm> local_forms, | 65 ScopedVector<autofill::PasswordForm> local_forms, |
| 66 const GURL& origin) override; | 66 const GURL& origin) override; |
| 67 void NotifyUserCouldBeAutoSignedIn( | 67 void NotifyUserCouldBeAutoSignedIn( |
| 68 std::unique_ptr<autofill::PasswordForm> form) override; | 68 std::unique_ptr<autofill::PasswordForm> form) override; |
| 69 void NotifySuccessfulLoginWithExistingPassword( | 69 void NotifySuccessfulLoginWithExistingPassword( |
| 70 const autofill::PasswordForm& form) override; | 70 const autofill::PasswordForm& form) override; |
| 71 void NotifyStorePasswordCalled() override; |
| 71 void AutomaticPasswordSave( | 72 void AutomaticPasswordSave( |
| 72 std::unique_ptr<password_manager::PasswordFormManager> saved_form_manager) | 73 std::unique_ptr<password_manager::PasswordFormManager> saved_form_manager) |
| 73 override; | 74 override; |
| 74 void PasswordWasAutofilled( | 75 void PasswordWasAutofilled( |
| 75 const autofill::PasswordFormMap& best_matches, | 76 const autofill::PasswordFormMap& best_matches, |
| 76 const GURL& origin, | 77 const GURL& origin, |
| 77 const std::vector<std::unique_ptr<autofill::PasswordForm>>* | 78 const std::vector<std::unique_ptr<autofill::PasswordForm>>* |
| 78 federated_matches) const override; | 79 federated_matches) const override; |
| 79 PrefService* GetPrefs() override; | 80 PrefService* GetPrefs() override; |
| 80 password_manager::PasswordStore* GetPasswordStore() const override; | 81 password_manager::PasswordStore* GetPasswordStore() const override; |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 std::unique_ptr<password_manager::LogManager> log_manager_; | 188 std::unique_ptr<password_manager::LogManager> log_manager_; |
| 188 | 189 |
| 189 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the | 190 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the |
| 190 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. | 191 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. |
| 191 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; | 192 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; |
| 192 | 193 |
| 193 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 194 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 197 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |