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

Unified Diff: chrome/browser/chromeos/policy/user_policy_test_helper.cc

Issue 2977033002: Mixed Licenses Enrollment (Closed)
Patch Set: Fix last nit Created 3 years, 4 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/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);

Powered by Google App Engine
This is Rietveld 408576698