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

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

Issue 2534433002: Mop up incorrect uses of IsEnterpriseManaged() (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
Index: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
index c708998051606478e508da9515372eb6b5c7b08f..5ce7feb33d039c52d016ba36ad0b68947e6cf6ff 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h
@@ -73,6 +73,13 @@ class BrowserPolicyConnectorChromeOS
// a local owner).
bool IsEnterpriseManaged() const;
Roman Sorokin (ftl) 2016/11/25 09:40:16 What's up with that method? Should we delete it? O
Thiemo Nagel 2016/11/25 09:58:10 We need to keep it, there's many legit uses of it.
+ // Returns true if this device is enterprise-managed via Google's cloud (DM
+ // server).
+ bool IsCloudManaged() const;
+
+ // Returns true if this device is enterprise-managed via Active Directory.
+ bool IsActiveDirectoryManaged() const;
+
// Returns the enterprise domain if device is managed.
std::string GetEnterpriseDomain() const;

Powered by Google App Engine
This is Rietveld 408576698