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

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

Issue 2534433002: Mop up incorrect uses of IsEnterpriseManaged() (Closed)
Patch Set: Address Achuith' comments 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
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 82fa3d3d51d5f14880bb32c22b73579d767a3ac2..11f8303c5801c598c70c08137639a7061f107340 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
@@ -225,6 +225,14 @@ bool BrowserPolicyConnectorChromeOS::IsEnterpriseManaged() const {
return install_attributes_ && install_attributes_->IsEnterpriseManaged();
}
+bool BrowserPolicyConnectorChromeOS::IsCloudManaged() const {
+ return install_attributes_ && install_attributes_->IsCloudManaged();
+}
+
+bool BrowserPolicyConnectorChromeOS::IsActiveDirectoryManaged() const {
+ return install_attributes_ && install_attributes_->IsActiveDirectoryManaged();
+}
+
std::string BrowserPolicyConnectorChromeOS::GetEnterpriseDomain() const {
return install_attributes_ ? install_attributes_->GetDomain() : std::string();
}

Powered by Google App Engine
This is Rietveld 408576698