| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 | 9 |
| 10 class PrefService; | 10 class PrefService; |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 class BrowserContext; | 13 class BrowserContext; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace autofill { | 16 namespace autofill { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const char* expiration_month, const char* expiration_year); | 91 const char* expiration_month, const char* expiration_year); |
| 92 | 92 |
| 93 // TODO(isherman): We should do this automatically for all tests, not manually | 93 // TODO(isherman): We should do this automatically for all tests, not manually |
| 94 // on a per-test basis: http://crbug.com/57221 | 94 // on a per-test basis: http://crbug.com/57221 |
| 95 // Disables or mocks out code that would otherwise reach out to system services. | 95 // Disables or mocks out code that would otherwise reach out to system services. |
| 96 void DisableSystemServices(content::BrowserContext* browser_context); | 96 void DisableSystemServices(content::BrowserContext* browser_context); |
| 97 | 97 |
| 98 } // namespace test | 98 } // namespace test |
| 99 } // namespace autofill | 99 } // namespace autofill |
| 100 | 100 |
| 101 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_ | 101 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TEST_UTILS_H_ |
| OLD | NEW |