Index: chrome/browser/chromeos/policy/user_policy_test_helper.cc |
diff --git a/chrome/browser/chromeos/policy/user_policy_test_helper.cc b/chrome/browser/chromeos/policy/user_policy_test_helper.cc |
index 7712740d0790b71d272c3f9358cb6458a46f2968..5cc4efc67bacde3ae4e1f527279c7a06c5fd87db 100644 |
--- a/chrome/browser/chromeos/policy/user_policy_test_helper.cc |
+++ b/chrome/browser/chromeos/policy/user_policy_test_helper.cc |
@@ -102,7 +102,8 @@ void UserPolicyTestHelper::WaitForInitialPolicy(Profile* profile) { |
policy_manager->core()->client()->Register( |
registration_type, |
enterprise_management::DeviceRegisterRequest::FLAVOR_USER_REGISTRATION, |
- "bogus", std::string(), std::string(), std::string()); |
+ enterprise_management::LicenseType::UNDEFINED, "bogus", std::string(), |
+ std::string(), std::string()); |
policy::ProfilePolicyConnector* const profile_connector = |
policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile); |