Index: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc |
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc |
index 0105d8813e5157bc02218b0ebad6c92e005325da..fff003698e3e3ba65378d417d23a3314b15354de 100644 |
--- a/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc |
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_browsertest.cc |
@@ -17,14 +17,9 @@ |
namespace policy { |
-// Boolean parameter is used to run this test for webview (true) and for |
-// iframe (false) GAIA sign in. |
-class UserCloudPolicyManagerTest : public LoginPolicyTestBase, |
- public testing::WithParamInterface<bool> { |
+class UserCloudPolicyManagerTest : public LoginPolicyTestBase { |
protected: |
- UserCloudPolicyManagerTest() : LoginPolicyTestBase() { |
- set_use_webview(GetParam()); |
- } |
+ UserCloudPolicyManagerTest() : LoginPolicyTestBase() {} |
scoped_ptr<base::DictionaryValue> GetMandatoryPoliciesValue() const override { |
scoped_ptr<base::ListValue> list(new base::ListValue); |
@@ -43,7 +38,7 @@ class UserCloudPolicyManagerTest : public LoginPolicyTestBase, |
DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerTest); |
}; |
-IN_PROC_BROWSER_TEST_P(UserCloudPolicyManagerTest, StartSession) { |
+IN_PROC_BROWSER_TEST_F(UserCloudPolicyManagerTest, StartSession) { |
const char* const kStartupURLs[] = {"chrome://policy", "chrome://about"}; |
SkipToLoginScreen(); |
@@ -66,8 +61,4 @@ IN_PROC_BROWSER_TEST_P(UserCloudPolicyManagerTest, StartSession) { |
} |
} |
-INSTANTIATE_TEST_CASE_P(UserCloudPolicyManagerTestSuite, |
- UserCloudPolicyManagerTest, |
- testing::Bool()); |
- |
} // namespace policy |