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

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

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: CrOS compilation fix 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/power_policy_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/power_policy_browsertest.cc b/chrome/browser/chromeos/policy/power_policy_browsertest.cc
index 19a5ec5f26c435c814cad586bc7a0b2ff3c666da..6292ee37070fb0321a76426b5e2905467d9874e4 100644
--- a/chrome/browser/chromeos/policy/power_policy_browsertest.cc
+++ b/chrome/browser/chromeos/policy/power_policy_browsertest.cc
@@ -275,7 +275,8 @@ void PowerPolicyBrowserTestBase::RunClosureAndWaitForUserPolicyUpdate(
void PowerPolicyBrowserTestBase::ReloadUserPolicy(Profile* profile) {
UserCloudPolicyManagerChromeOS* policy_manager =
- UserCloudPolicyManagerFactoryChromeOS::GetForProfile(profile);
+ UserCloudPolicyManagerFactoryChromeOS::GetCloudPolicyManagerForProfile(
+ profile);
ASSERT_TRUE(policy_manager);
policy_manager->core()->store()->Load();
}

Powered by Google App Engine
This is Rietveld 408576698