| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
| 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // These functions are used to determine if this form has had it's password | 107 // These functions are used to determine if this form has had it's password |
| 108 // auto generated by the browser. | 108 // auto generated by the browser. |
| 109 bool HasGeneratedPassword(); | 109 bool HasGeneratedPassword(); |
| 110 void SetHasGeneratedPassword(); | 110 void SetHasGeneratedPassword(); |
| 111 | 111 |
| 112 // Determines if we need to autofill given the results of the query. | 112 // Determines if we need to autofill given the results of the query. |
| 113 // Takes ownership of the elements in |result|. | 113 // Takes ownership of the elements in |result|. |
| 114 void OnRequestDone(const std::vector<autofill::PasswordForm*>& result); | 114 void OnRequestDone(const std::vector<autofill::PasswordForm*>& result); |
| 115 | 115 |
| 116 virtual void OnGetPasswordStoreResults( | 116 virtual void OnGetPasswordStoreResults( |
| 117 const std::vector<autofill::PasswordForm*>& results) override; | 117 const std::vector<autofill::PasswordForm*>& results) OVERRIDE; |
| 118 | 118 |
| 119 // A user opted to 'never remember' passwords for this form. | 119 // A user opted to 'never remember' passwords for this form. |
| 120 // Blacklist it so that from now on when it is seen we ignore it. | 120 // Blacklist it so that from now on when it is seen we ignore it. |
| 121 // TODO: Make this private once we switch to the new UI. | 121 // TODO: Make this private once we switch to the new UI. |
| 122 void PermanentlyBlacklist(); | 122 void PermanentlyBlacklist(); |
| 123 | 123 |
| 124 // Sets whether the password form should use additional password | 124 // Sets whether the password form should use additional password |
| 125 // authentication if available before being used for autofill. | 125 // authentication if available before being used for autofill. |
| 126 void SetUseAdditionalPasswordAuthentication( | 126 void SetUseAdditionalPasswordAuthentication( |
| 127 bool use_additional_authentication); | 127 bool use_additional_authentication); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 ManagerAction manager_action_; | 334 ManagerAction manager_action_; |
| 335 UserAction user_action_; | 335 UserAction user_action_; |
| 336 SubmitResult submit_result_; | 336 SubmitResult submit_result_; |
| 337 | 337 |
| 338 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); | 338 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); |
| 339 }; | 339 }; |
| 340 | 340 |
| 341 } // namespace password_manager | 341 } // namespace password_manager |
| 342 | 342 |
| 343 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 343 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
| OLD | NEW |