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

Unified Diff: components/update_client/updater_state_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: components/update_client/updater_state_win.cc
diff --git a/components/update_client/updater_state_win.cc b/components/update_client/updater_state_win.cc
index 396395a6d6ac3cf59c02110b0a42bf5e6ac676d8..ae1cecbcf9be3c5e0fde47131c15876f25b3f617 100644
--- a/components/update_client/updater_state_win.cc
+++ b/components/update_client/updater_state_win.cc
@@ -133,8 +133,8 @@ int UpdaterState::GetUpdatePolicy() {
return -1;
}
-bool UpdaterState::IsJoinedToDomain() {
- return base::win::IsEnrolledToDomain();
+bool UpdaterState::IsEnterpriseManaged() {
+ return base::win::IsEnterpriseManaged();
}
} // namespace update_client

Powered by Google App Engine
This is Rietveld 408576698