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

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: Add uma logging for new api 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..4b142a198518aa779753e3a928a31c7e171900db 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::IsEnterpriseUser() {
+ return base::win::IsEnterpriseUser();
}
} // namespace update_client

Powered by Google App Engine
This is Rietveld 408576698