OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ |
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ | 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 #include <string> | 10 #include <string> |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // default. | 202 // default. |
203 bool disable_download_manager_requests_; | 203 bool disable_download_manager_requests_; |
204 | 204 |
205 // Our copy of the form data. | 205 // Our copy of the form data. |
206 ScopedVector<FormStructure> form_structures_; | 206 ScopedVector<FormStructure> form_structures_; |
207 | 207 |
208 // The form data the user has submitted. | 208 // The form data the user has submitted. |
209 scoped_ptr<FormStructure> upload_form_structure_; | 209 scoped_ptr<FormStructure> upload_form_structure_; |
210 | 210 |
211 // The InfoBar that asks for permission to store credit card information. | 211 // The InfoBar that asks for permission to store credit card information. |
212 scoped_ptr<AutoFillCCInfoBarDelegate> cc_infobar_; | 212 // Deletes itself when closed. |
| 213 AutoFillCCInfoBarDelegate* cc_infobar_; |
213 | 214 |
214 friend class TestAutoFillManager; | 215 friend class TestAutoFillManager; |
215 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); | 216 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); |
216 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillNonBillingFormSemicolon); | 217 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillNonBillingFormSemicolon); |
217 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillBillFormSemicolon); | 218 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillBillFormSemicolon); |
218 | 219 |
219 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); | 220 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); |
220 }; | 221 }; |
221 | 222 |
222 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ | 223 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ |
OLD | NEW |