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

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

Issue 2515673002: Fix enrollment crash (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
index d9c1280a5fe3ae3789ead1ac00e83492e24c4ed6..82fa3d3d51d5f14880bb32c22b73579d767a3ac2 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
@@ -156,7 +156,7 @@ void BrowserPolicyConnectorChromeOS::Init(
}
DCHECK(install_attributes_);
- if (install_attributes_->IsCloudManaged()) {
+ if (!install_attributes_->IsActiveDirectoryManaged()) {
device_local_account_policy_service_ =
base::MakeUnique<DeviceLocalAccountPolicyService>(
chromeos::DBusThreadManager::Get()->GetSessionManagerClient(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698