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

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: review feedback 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
« no previous file with comments | « chrome/browser/policy/cloud_policy_manager.h ('k') | chrome/browser/policy/cloud_policy_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 53cece0cc3dbac72c1c733a1bbbdc56219f32e73..0f9482def459161fd56898b9c89ad70f45e03d2c 100644
--- a/chrome/browser/policy/cloud_policy_manager.cc
+++ b/chrome/browser/policy/cloud_policy_manager.cc
@@ -46,7 +46,7 @@ void CloudPolicyManager::RefreshPolicies() {
base::Bind(&CloudPolicyManager::OnRefreshComplete,
base::Unretained(this)));
} else {
- OnRefreshComplete();
+ OnRefreshComplete(false);
}
}
@@ -69,7 +69,7 @@ void CloudPolicyManager::CheckAndPublishPolicy() {
}
}
-void CloudPolicyManager::OnRefreshComplete() {
+void CloudPolicyManager::OnRefreshComplete(bool success) {
waiting_for_policy_refresh_ = false;
CheckAndPublishPolicy();
}
« no previous file with comments | « chrome/browser/policy/cloud_policy_manager.h ('k') | chrome/browser/policy/cloud_policy_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698