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

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

Issue 17465003: Fix most tests in //components/autofill/content to not depend on //chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR Created 7 years, 6 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_common_test.h
diff --git a/components/autofill/core/browser/autofill_common_test.h b/components/autofill/core/browser/autofill_common_test.h
index c922a530cd9038eb8051c5f3cbe3daf9afd7b40c..3f0ca5fd286b47d3e9b96106373c7297eb2a9463 100644
--- a/components/autofill/core/browser/autofill_common_test.h
+++ b/components/autofill/core/browser/autofill_common_test.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_COMMON_TEST_H_
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace autofill {
@@ -68,7 +70,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(Profile* profile);
+void DisableSystemServices(content::BrowserContext* browser_context);
} // namespace test
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698