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

Unified Diff: chrome/browser/chromeos/policy/login_policy_test_base.h

Issue 1095843003: [cros] Modify oobe/login tests to work with webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 8 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: chrome/browser/chromeos/policy/login_policy_test_base.h
diff --git a/chrome/browser/chromeos/policy/login_policy_test_base.h b/chrome/browser/chromeos/policy/login_policy_test_base.h
index cf4f8480dcc7c173ea7a57bd57af19ff618ea427..c99f97654f040667d37e73750c53fbed63eac0f6 100644
--- a/chrome/browser/chromeos/policy/login_policy_test_base.h
+++ b/chrome/browser/chromeos/policy/login_policy_test_base.h
@@ -23,7 +23,10 @@ class LocalPolicyTestServer;
// This class can be used to implement tests which need policy to be set prior
// to login.
-class LoginPolicyTestBase : public chromeos::OobeBaseTest {
+// Boolean parameter is used to run this test for webview (true) and for
+// iframe (false) GAIA sign in.
+class LoginPolicyTestBase : public chromeos::OobeBaseTest,
+ public testing::WithParamInterface<bool> {
protected:
LoginPolicyTestBase();
~LoginPolicyTestBase() override;

Powered by Google App Engine
This is Rietveld 408576698