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

Unified Diff: components/update_client/updater_state.h

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.h
diff --git a/components/update_client/updater_state.h b/components/update_client/updater_state.h
index cd537eca589e78f193b72cff37c995ca75957d65..11f2fa985531f1b7d56967f937f648ee1f71020e 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 kDomainJoined[];
+ static const char kIsEnterpriseManaged[];
// 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 IsJoinedToDomain();
+ static bool IsEnterpriseManaged();
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_joined_to_domain_ = false;
+ bool is_enterprise_managed_ = false;
bool is_autoupdate_check_enabled_ = false;
int update_policy_ = 0;
};

Powered by Google App Engine
This is Rietveld 408576698