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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 const char* name_on_card, const char* card_number, | 48 const char* name_on_card, const char* card_number, |
49 const char* expiration_month, const char* expiration_year); | 49 const char* expiration_month, const char* expiration_year); |
50 | 50 |
51 // TODO(isherman): We should do this automatically for all tests, not manually | 51 // TODO(isherman): We should do this automatically for all tests, not manually |
52 // on a per-test basis: http://crbug.com/57221 | 52 // on a per-test basis: http://crbug.com/57221 |
53 // Disables or mocks out code that would otherwise reach out to system services. | 53 // Disables or mocks out code that would otherwise reach out to system services. |
54 void DisableSystemServices(Profile* profile); | 54 void DisableSystemServices(Profile* profile); |
55 | 55 |
56 } // namespace autofill_test | 56 } // namespace autofill_test |
57 | 57 |
58 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_COMMON_TEST_H_ | 58 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ |
OLD | NEW |