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

Unified Diff: components/update_client/updater_state.h

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/policy/core/common/policy_loader_win.cc ('k') | components/update_client/updater_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/updater_state.h
diff --git a/components/update_client/updater_state.h b/components/update_client/updater_state.h
index 11f2fa985531f1b7d56967f937f648ee1f71020e..cd537eca589e78f193b72cff37c995ca75957d65 100644
--- a/components/update_client/updater_state.h
+++ b/components/update_client/updater_state.h
@@ -19,7 +19,7 @@ class UpdaterState {
public:
using Attributes = std::map<std::string, std::string>;
- static const char kIsEnterpriseManaged[];
+ static const char kDomainJoined[];
// Returns a map of items representing the state of an updater. These items
// can be serialized as XML attributes in the request building.
@@ -44,7 +44,7 @@ class UpdaterState {
static std::string GetUpdaterName();
static base::Version GetUpdaterVersion(bool is_machine);
static bool IsAutoupdateCheckEnabled();
- static bool IsEnterpriseManaged();
+ static bool IsJoinedToDomain();
static base::Time GetUpdaterLastStartedAU(bool is_machine);
static base::Time GetUpdaterLastChecked(bool is_machine);
static base::Time GetUpdaterTimeValue(bool is_machine,
@@ -58,7 +58,7 @@ class UpdaterState {
base::Version updater_version_;
base::Time last_autoupdate_started_;
base::Time last_checked_;
- bool is_enterprise_managed_ = false;
+ bool is_joined_to_domain_ = false;
bool is_autoupdate_check_enabled_ = false;
int update_policy_ = 0;
};
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | components/update_client/updater_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698