| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 PasswordValueGatekeeper gatekeeper_; | 276 PasswordValueGatekeeper gatekeeper_; |
| 277 | 277 |
| 278 // True indicates that user debug information should be logged. | 278 // True indicates that user debug information should be logged. |
| 279 bool logging_state_active_; | 279 bool logging_state_active_; |
| 280 | 280 |
| 281 // True indicates that the username field was autofilled, false otherwise. | 281 // True indicates that the username field was autofilled, false otherwise. |
| 282 bool was_username_autofilled_; | 282 bool was_username_autofilled_; |
| 283 // True indicates that the password field was autofilled, false otherwise. | 283 // True indicates that the password field was autofilled, false otherwise. |
| 284 bool was_password_autofilled_; | 284 bool was_password_autofilled_; |
| 285 | 285 |
| 286 // True indicates that a request for credentials has been sent to the store. |
| 287 bool sent_request_to_store_; |
| 288 |
| 286 // Records the username typed before suggestions preview. | 289 // Records the username typed before suggestions preview. |
| 287 base::string16 username_query_prefix_; | 290 base::string16 username_query_prefix_; |
| 288 | 291 |
| 289 // Contains server predictions for username, password and/or new password | 292 // Contains server predictions for username, password and/or new password |
| 290 // fields for individual forms. | 293 // fields for individual forms. |
| 291 FormsPredictionsMap form_predictions_; | 294 FormsPredictionsMap form_predictions_; |
| 292 | 295 |
| 293 AutofillAgent* autofill_agent_; // Weak reference. | 296 AutofillAgent* autofill_agent_; // Weak reference. |
| 294 | 297 |
| 295 mojom::PasswordManagerDriverPtr password_manager_driver_; | 298 mojom::PasswordManagerDriverPtr password_manager_driver_; |
| 296 | 299 |
| 297 mojo::Binding<mojom::PasswordAutofillAgent> binding_; | 300 mojo::Binding<mojom::PasswordAutofillAgent> binding_; |
| 298 | 301 |
| 299 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); | 302 DISALLOW_COPY_AND_ASSIGN(PasswordAutofillAgent); |
| 300 }; | 303 }; |
| 301 | 304 |
| 302 } // namespace autofill | 305 } // namespace autofill |
| 303 | 306 |
| 304 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ | 307 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_ |
| OLD | NEW |