bondd | 10a45b9 | 2015-02-04 23:29:40 | [diff] [blame] | 1 | // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_ |
| 6 | #define CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_ |
| 7 | |
| 8 | #include <vector> |
| 9 | |
| 10 | class Browser; |
| 11 | |
| 12 | namespace autofill { |
| 13 | |
| 14 | class AutofillProfile; |
sebsg | e35b762c | 2018-03-29 20:33:27 | [diff] [blame] | 15 | class CreditCard; |
bondd | 10a45b9 | 2015-02-04 23:29:40 | [diff] [blame] | 16 | |
| 17 | void AddTestProfile(Browser* browser, const AutofillProfile& profile); |
| 18 | void SetTestProfile(Browser* browser, const AutofillProfile& profile); |
| 19 | void SetTestProfiles(Browser* browser, std::vector<AutofillProfile>* profiles); |
sebsg | e35b762c | 2018-03-29 20:33:27 | [diff] [blame] | 20 | void AddTestCreditCard(Browser* browser, const CreditCard& card); |
Yiming Zhou | 03261c8 | 2018-06-19 19:18:54 | [diff] [blame^] | 21 | void AddTestAutofillData(Browser* browser, |
| 22 | const AutofillProfile& profile, |
| 23 | const CreditCard& card); |
bondd | 10a45b9 | 2015-02-04 23:29:40 | [diff] [blame] | 24 | } // namespace autofill |
| 25 | |
| 26 | #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_UITEST_UTIL_H_ |