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

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

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: Compilation fixes Created 4 years 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 cbc2504bc4a80a71a7cf2c919a5079d57f91b048..aaaa9466860b06210750c65514c28151ad5be8cf 100644
--- a/chrome/browser/chromeos/policy/user_policy_test_helper.cc
+++ b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
@@ -91,7 +91,8 @@ void UserPolicyTestHelper::WaitForInitialPolicy(Profile* profile) {
connector->ScheduleServiceInitialization(0);
UserCloudPolicyManagerChromeOS* const policy_manager =
- UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile);
+ UserCloudPolicyManagerFactoryChromeOS::GetCloudPolicyManagerForProfile(
+ profile);
// Give a bogus OAuth token to the |policy_manager|. This should make its
// CloudPolicyClient fetch the DMToken.

Powered by Google App Engine
This is Rietveld 408576698