| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_TEST_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ |
| 7 | 7 |
| 8 class AutofillProfile; | 8 class AutofillProfile; |
| 9 class CreditCard; | 9 class CreditCard; |
| 10 class Profile; | 10 class Profile; |
| 11 | 11 |
| 12 struct FormFieldData; | 12 struct FormFieldData; |
| 13 | 13 |
| 14 // Common utilities shared amongst Autofill tests. | 14 // Common utilities shared amongst Autofill tests. |
| 15 namespace autofill_test { | 15 namespace autofill_test { |
| 16 | 16 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 const char* name_on_card, const char* card_number, | 45 const char* name_on_card, const char* card_number, |
| 46 const char* expiration_month, const char* expiration_year); | 46 const char* expiration_month, const char* expiration_year); |
| 47 | 47 |
| 48 // TODO(isherman): We should do this automatically for all tests, not manually | 48 // TODO(isherman): We should do this automatically for all tests, not manually |
| 49 // on a per-test basis: http://crbug.com/57221 | 49 // on a per-test basis: http://crbug.com/57221 |
| 50 // Disables or mocks out code that would otherwise reach out to system services. | 50 // Disables or mocks out code that would otherwise reach out to system services. |
| 51 void DisableSystemServices(Profile* profile); | 51 void DisableSystemServices(Profile* profile); |
| 52 | 52 |
| 53 } // namespace autofill_test | 53 } // namespace autofill_test |
| 54 | 54 |
| 55 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ | 55 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ |
| OLD | NEW |