Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: components/autofill/core/browser/autofill_test_utils.h

Issue 180953004: Componentize several Autofill unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable system services Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_test_utils.h
diff --git a/components/autofill/core/browser/autofill_test_utils.h b/components/autofill/core/browser/autofill_test_utils.h
index 7508f19cbedffc054631363754aadcd893b9e0c6..fd550a44c6f814b86e00c96182f062bd7363e6b7 100644
--- a/components/autofill/core/browser/autofill_test_utils.h
+++ b/components/autofill/core/browser/autofill_test_utils.h
@@ -9,10 +9,6 @@
class PrefService;
-namespace content {
-class BrowserContext;
-}
-
namespace autofill {
class AutofillProfile;
@@ -93,7 +89,7 @@ void SetCreditCardInfo(CreditCard* credit_card,
// TODO(isherman): We should do this automatically for all tests, not manually
// on a per-test basis: http://crbug.com/57221
// Disables or mocks out code that would otherwise reach out to system services.
-void DisableSystemServices(content::BrowserContext* browser_context);
+void DisableSystemServices(PrefService* prefs);
} // namespace test
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698