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

Unified Diff: chrome/browser/policy/cloud_policy_manager.cc

Issue 11444029: Added UserPolicySigninService::FetchPolicyForSignedInUser(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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/policy/cloud_policy_manager.cc
diff --git a/chrome/browser/policy/cloud_policy_manager.cc b/chrome/browser/policy/cloud_policy_manager.cc
index f4f6d71ba7e4ee4a45bf2cfcb4cef83994a3377e..1a88bc11539b57d6c4abe7f35d337d57c2551834 100644
--- a/chrome/browser/policy/cloud_policy_manager.cc
+++ b/chrome/browser/policy/cloud_policy_manager.cc
@@ -51,7 +51,7 @@ void CloudPolicyManager::RefreshPolicies() {
base::Bind(&CloudPolicyManager::OnRefreshComplete,
base::Unretained(this)));
} else {
- OnRefreshComplete();
+ OnRefreshComplete(false);
}
}
@@ -105,7 +105,7 @@ void CloudPolicyManager::CheckAndPublishPolicy() {
}
}
-void CloudPolicyManager::OnRefreshComplete() {
+void CloudPolicyManager::OnRefreshComplete(bool success) {
waiting_for_policy_refresh_ = false;
CheckAndPublishPolicy();
}

Powered by Google App Engine
This is Rietveld 408576698