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 <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // The InfoBar that asks for permission to store credit card information. | 199 // The InfoBar that asks for permission to store credit card information. |
200 // Deletes itself when closed. | 200 // Deletes itself when closed. |
201 AutoFillCCInfoBarDelegate* cc_infobar_; | 201 AutoFillCCInfoBarDelegate* cc_infobar_; |
202 | 202 |
203 // GUID to ID mapping. We keep two maps to convert back and forth. | 203 // GUID to ID mapping. We keep two maps to convert back and forth. |
204 std::map<std::string, int> guid_id_map_; | 204 std::map<std::string, int> guid_id_map_; |
205 std::map<int, std::string> id_guid_map_; | 205 std::map<int, std::string> id_guid_map_; |
206 | 206 |
207 friend class FormStructureBrowserTest; | 207 friend class FormStructureBrowserTest; |
208 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); | 208 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardForm); |
| 209 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, |
| 210 FillCreditCardFormNoYearNoMonth); |
| 211 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearNoMonth); |
| 212 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormNoYearMonth); |
| 213 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillCreditCardFormYearMonth); |
209 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); | 214 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressForm); |
210 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); | 215 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAddressAndCreditCardForm); |
211 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm); | 216 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillAutoFilledForm); |
212 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); | 217 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FillPhoneNumber); |
213 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); | 218 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesRemoveField); |
214 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); | 219 FRIEND_TEST_ALL_PREFIXES(AutoFillManagerTest, FormChangesAddField); |
215 | 220 |
216 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); | 221 DISALLOW_COPY_AND_ASSIGN(AutoFillManager); |
217 }; | 222 }; |
218 | 223 |
219 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ | 224 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ |
OLD | NEW |