| 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_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 // Collected information about the autofill form where unmasked card will be | 556 // Collected information about the autofill form where unmasked card will be |
| 557 // filled. | 557 // filled. |
| 558 int unmasking_query_id_; | 558 int unmasking_query_id_; |
| 559 FormData unmasking_form_; | 559 FormData unmasking_form_; |
| 560 FormFieldData unmasking_field_; | 560 FormFieldData unmasking_field_; |
| 561 CreditCard masked_card_; | 561 CreditCard masked_card_; |
| 562 | 562 |
| 563 // Collected information about a pending upload request. | 563 // Collected information about a pending upload request. |
| 564 payments::PaymentsClient::UploadRequestDetails upload_request_; | 564 payments::PaymentsClient::UploadRequestDetails upload_request_; |
| 565 bool user_did_accept_upload_prompt_; | 565 bool user_did_accept_upload_prompt_; |
| 566 bool should_cvc_be_requested_; |
| 567 bool found_cvc_field_; |
| 568 bool found_cvc_value_; |
| 566 GURL pending_upload_request_url_; | 569 GURL pending_upload_request_url_; |
| 567 bool should_cvc_be_requested_; | |
| 568 | 570 |
| 569 #ifdef ENABLE_FORM_DEBUG_DUMP | 571 #ifdef ENABLE_FORM_DEBUG_DUMP |
| 570 // The last few autofilled forms (key/value pairs) submitted, for debugging. | 572 // The last few autofilled forms (key/value pairs) submitted, for debugging. |
| 571 // TODO(brettw) this should be removed. See DumpAutofillData. | 573 // TODO(brettw) this should be removed. See DumpAutofillData. |
| 572 std::vector<std::map<std::string, base::string16>> | 574 std::vector<std::map<std::string, base::string16>> |
| 573 recently_autofilled_forms_; | 575 recently_autofilled_forms_; |
| 574 #endif | 576 #endif |
| 575 | 577 |
| 576 // Suggestion backend ID to ID mapping. We keep two maps to convert back and | 578 // Suggestion backend ID to ID mapping. We keep two maps to convert back and |
| 577 // forth. These should be used only by BackendIDToInt and IntToBackendID. | 579 // forth. These should be used only by BackendIDToInt and IntToBackendID. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 636 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 635 OnLoadedServerPredictions_ResetManager); | 637 OnLoadedServerPredictions_ResetManager); |
| 636 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); | 638 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); |
| 637 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); | 639 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); |
| 638 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 640 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 639 }; | 641 }; |
| 640 | 642 |
| 641 } // namespace autofill | 643 } // namespace autofill |
| 642 | 644 |
| 643 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 645 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |