| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BROWSER_AUTOCHECKOUT_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOCHECKOUT_MANAGER_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOCHECKOUT_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOCHECKOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 // Sends |status| to Online Wallet using AutocheckoutRequestManager. | 97 // Sends |status| to Online Wallet using AutocheckoutRequestManager. |
| 98 void SendAutocheckoutStatus(AutocheckoutStatus status); | 98 void SendAutocheckoutStatus(AutocheckoutStatus status); |
| 99 | 99 |
| 100 // Sets value of form field data |field_to_fill| based on the Autofill | 100 // Sets value of form field data |field_to_fill| based on the Autofill |
| 101 // field type specified by |field|. | 101 // field type specified by |field|. |
| 102 void SetValue(const AutofillField& field, FormFieldData* field_to_fill); | 102 void SetValue(const AutofillField& field, FormFieldData* field_to_fill); |
| 103 | 103 |
| 104 AutofillManager* autofill_manager_; // WEAK; owns us | 104 AutofillManager* autofill_manager_; // WEAK; owns us |
| 105 | 105 |
| 106 // Credit card verification code. | 106 // Credit card verification code. |
| 107 string16 cvv_; | 107 base::string16 cvv_; |
| 108 | 108 |
| 109 // Profile built using the data supplied by requestAutocomplete dialog. | 109 // Profile built using the data supplied by requestAutocomplete dialog. |
| 110 scoped_ptr<AutofillProfile> profile_; | 110 scoped_ptr<AutofillProfile> profile_; |
| 111 | 111 |
| 112 // Credit card built using the data supplied by requestAutocomplete dialog. | 112 // Credit card built using the data supplied by requestAutocomplete dialog. |
| 113 scoped_ptr<CreditCard> credit_card_; | 113 scoped_ptr<CreditCard> credit_card_; |
| 114 | 114 |
| 115 // Billing address built using data supplied by requestAutocomplete dialog. | 115 // Billing address built using data supplied by requestAutocomplete dialog. |
| 116 scoped_ptr<AutofillProfile> billing_address_; | 116 scoped_ptr<AutofillProfile> billing_address_; |
| 117 | 117 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 134 std::string google_transaction_id_; | 134 std::string google_transaction_id_; |
| 135 | 135 |
| 136 base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_; | 136 base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_; |
| 137 | 137 |
| 138 DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager); | 138 DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace autofill | 141 } // namespace autofill |
| 142 | 142 |
| 143 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOCHECKOUT_MANAGER_H_ | 143 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOCHECKOUT_MANAGER_H_ |
| OLD | NEW |