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

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

Issue 2623203005: Chromad: Trigger user/device policy fetch on login/reboot (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « chrome/browser/chromeos/policy/user_active_directory_policy_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc b/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
index 207a807714c65845f169c8e94ae4ffa961c7b029..b4268469a2f9e2d73d9c6b9ae3bfae0a603fc53f 100644
--- a/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
+++ b/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
@@ -204,9 +204,8 @@ UserPolicyManagerFactoryChromeOS::CreateManagerForProfile(
// has been a credential error, or if the initial session creation was not
// completed (the oauth_token_status is not set to valid by OAuth2LoginManager
// until profile creation/session restore is complete).
- // TODO(tnagel): Don't limit blocking to cloud managed users.
const bool block_forever_for_policy =
- !is_active_directory && !user_manager->IsLoggedInAsStub() &&
+ !user_manager->IsLoggedInAsStub() &&
(user_manager->IsCurrentUserNew() ||
user_manager->GetActiveUser()->force_online_signin() ||
user_manager->GetActiveUser()->oauth_token_status() !=
« no previous file with comments | « chrome/browser/chromeos/policy/user_active_directory_policy_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698