| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/prefs/pref_member.h" | 10 #include "base/prefs/pref_member.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void AutofillResultsComputed() override; | 52 void AutofillResultsComputed() override; |
| 53 bool PromptUserToSavePassword( | 53 bool PromptUserToSavePassword( |
| 54 scoped_ptr<password_manager::PasswordFormManager> form_to_save, | 54 scoped_ptr<password_manager::PasswordFormManager> form_to_save, |
| 55 password_manager::CredentialSourceType type) override; | 55 password_manager::CredentialSourceType type) override; |
| 56 bool PromptUserToChooseCredentials( | 56 bool PromptUserToChooseCredentials( |
| 57 ScopedVector<autofill::PasswordForm> local_forms, | 57 ScopedVector<autofill::PasswordForm> local_forms, |
| 58 ScopedVector<autofill::PasswordForm> federated_forms, | 58 ScopedVector<autofill::PasswordForm> federated_forms, |
| 59 const GURL& origin, | 59 const GURL& origin, |
| 60 base::Callback<void(const password_manager::CredentialInfo&)> callback) | 60 base::Callback<void(const password_manager::CredentialInfo&)> callback) |
| 61 override; | 61 override; |
| 62 void ForceSavePassword() override; |
| 62 void NotifyUserAutoSignin( | 63 void NotifyUserAutoSignin( |
| 63 ScopedVector<autofill::PasswordForm> local_forms) override; | 64 ScopedVector<autofill::PasswordForm> local_forms) override; |
| 64 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> | 65 void AutomaticPasswordSave(scoped_ptr<password_manager::PasswordFormManager> |
| 65 saved_form_manager) override; | 66 saved_form_manager) override; |
| 66 void PasswordWasAutofilled( | 67 void PasswordWasAutofilled( |
| 67 const autofill::PasswordFormMap& best_matches) const override; | 68 const autofill::PasswordFormMap& best_matches) const override; |
| 68 void PasswordAutofillWasBlocked( | 69 void PasswordAutofillWasBlocked( |
| 69 const autofill::PasswordFormMap& best_matches) const override; | 70 const autofill::PasswordFormMap& best_matches) const override; |
| 70 PrefService* GetPrefs() override; | 71 PrefService* GetPrefs() override; |
| 71 password_manager::PasswordStore* GetPasswordStore() const override; | 72 password_manager::PasswordStore* GetPasswordStore() const override; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 bool sync_credential_was_filtered_; | 175 bool sync_credential_was_filtered_; |
| 175 | 176 |
| 176 // Set to false to disable password saving (will no longer ask if you | 177 // Set to false to disable password saving (will no longer ask if you |
| 177 // want to save passwords but will continue to fill passwords). | 178 // want to save passwords but will continue to fill passwords). |
| 178 BooleanPrefMember saving_passwords_enabled_; | 179 BooleanPrefMember saving_passwords_enabled_; |
| 179 | 180 |
| 180 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 181 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 184 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
| OLD | NEW |