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

Unified Diff: components/autofill/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: Remove IO thread, seems not needed. 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/browser/autofill_common_test.h
diff --git a/components/autofill/browser/autofill_common_test.h b/components/autofill/browser/autofill_common_test.h
index fa0fa7056693c22b2c731894df1c22b20e7da4aa..13a2f5f4f7353772da718fc8ea97a4bf384256e1 100644
--- a/components/autofill/browser/autofill_common_test.h
+++ b/components/autofill/browser/autofill_common_test.h
@@ -5,7 +5,9 @@
#ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COMMON_TEST_H_
#define COMPONENTS_AUTOFILL_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* profile);
Ilya Sherman 2013/06/19 23:06:14 nit: Please update the variable name here.
Jói 2013/06/21 13:13:23 Done.
} // namespace test
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698