| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 // filled. | 548 // filled. |
| 549 int unmasking_query_id_; | 549 int unmasking_query_id_; |
| 550 FormData unmasking_form_; | 550 FormData unmasking_form_; |
| 551 FormFieldData unmasking_field_; | 551 FormFieldData unmasking_field_; |
| 552 CreditCard masked_card_; | 552 CreditCard masked_card_; |
| 553 | 553 |
| 554 // Collected information about a pending upload request. | 554 // Collected information about a pending upload request. |
| 555 payments::PaymentsClient::UploadRequestDetails upload_request_; | 555 payments::PaymentsClient::UploadRequestDetails upload_request_; |
| 556 bool user_did_accept_upload_prompt_; | 556 bool user_did_accept_upload_prompt_; |
| 557 GURL pending_upload_request_url_; | 557 GURL pending_upload_request_url_; |
| 558 bool should_cvc_be_requested_; |
| 558 | 559 |
| 559 #ifdef ENABLE_FORM_DEBUG_DUMP | 560 #ifdef ENABLE_FORM_DEBUG_DUMP |
| 560 // The last few autofilled forms (key/value pairs) submitted, for debugging. | 561 // The last few autofilled forms (key/value pairs) submitted, for debugging. |
| 561 // TODO(brettw) this should be removed. See DumpAutofillData. | 562 // TODO(brettw) this should be removed. See DumpAutofillData. |
| 562 std::vector<std::map<std::string, base::string16>> | 563 std::vector<std::map<std::string, base::string16>> |
| 563 recently_autofilled_forms_; | 564 recently_autofilled_forms_; |
| 564 #endif | 565 #endif |
| 565 | 566 |
| 566 // Suggestion backend ID to ID mapping. We keep two maps to convert back and | 567 // Suggestion backend ID to ID mapping. We keep two maps to convert back and |
| 567 // forth. These should be used only by BackendIDToInt and IntToBackendID. | 568 // forth. These should be used only by BackendIDToInt and IntToBackendID. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, | 624 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, |
| 624 OnLoadedServerPredictions_ResetManager); | 625 OnLoadedServerPredictions_ResetManager); |
| 625 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); | 626 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, DontOfferToSavePaymentsCard); |
| 626 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); | 627 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, FillInUpdatedExpirationDate); |
| 627 DISALLOW_COPY_AND_ASSIGN(AutofillManager); | 628 DISALLOW_COPY_AND_ASSIGN(AutofillManager); |
| 628 }; | 629 }; |
| 629 | 630 |
| 630 } // namespace autofill | 631 } // namespace autofill |
| 631 | 632 |
| 632 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ | 633 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ |
| OLD | NEW |