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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc

Issue 2581353002: Use the Windows MDM API to check if the machine is being managed. (Closed)
Patch Set: rebased Created 3 years, 10 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
Index: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
index 88f548754c3869c38fa4ab167c9e471e5f4b582c..c108780039573eff2f5a00dc9b0c6210bea7f67d 100644
--- a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
@@ -292,7 +292,7 @@ void CollectRegistryData(
void CollectDomainEnrollmentData(
ClientIncidentReport_EnvironmentData_OS* os_data) {
- os_data->set_is_enrolled_to_domain(base::win::IsEnrolledToDomain());
+ os_data->set_is_enrolled_to_domain(base::win::IsEnterpriseManaged());
}
void CollectPlatformProcessData(

Powered by Google App Engine
This is Rietveld 408576698