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 COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ |
7 | 7 |
8 class Profile; | 8 class Profile; |
9 | 9 |
10 namespace autofill { | 10 namespace autofill { |
11 | 11 |
12 class AutofillProfile; | 12 class AutofillProfile; |
13 class CreditCard; | 13 class CreditCard; |
14 struct FormFieldData; | 14 struct FormFieldData; |
15 | 15 |
16 // Common utilities shared amongst Autofill tests. | 16 // Common utilities shared amongst Autofill tests. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 const char* expiration_month, const char* expiration_year); | 66 const char* expiration_month, const char* expiration_year); |
67 | 67 |
68 // TODO(isherman): We should do this automatically for all tests, not manually | 68 // TODO(isherman): We should do this automatically for all tests, not manually |
69 // on a per-test basis: http://crbug.com/57221 | 69 // on a per-test basis: http://crbug.com/57221 |
70 // Disables or mocks out code that would otherwise reach out to system services. | 70 // Disables or mocks out code that would otherwise reach out to system services. |
71 void DisableSystemServices(Profile* profile); | 71 void DisableSystemServices(Profile* profile); |
72 | 72 |
73 } // namespace test | 73 } // namespace test |
74 } // namespace autofill | 74 } // namespace autofill |
75 | 75 |
76 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_ | 76 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ |
OLD | NEW |