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

Unified Diff: components/update_client/updater_state_win.cc

Issue 2710713004: Revert "Use the Windows MDM API to check if the machine is being managed." (Closed)
Patch Set: 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
« no previous file with comments | « components/update_client/updater_state_unittest.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ae1cecbcf9be3c5e0fde47131c15876f25b3f617..396395a6d6ac3cf59c02110b0a42bf5e6ac676d8 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::IsEnterpriseManaged() {
- return base::win::IsEnterpriseManaged();
+bool UpdaterState::IsJoinedToDomain() {
+ return base::win::IsEnrolledToDomain();
}
} // namespace update_client
« no previous file with comments | « components/update_client/updater_state_unittest.cc ('k') | components/update_client/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698