Index: components/update_client/utils.cc |
diff --git a/components/update_client/utils.cc b/components/update_client/utils.cc |
index 6af11aebf1834417eeeb16a72619146c24e01e42..2d296bda922064a4b812030300a19e1fe8d757e1 100644 |
--- a/components/update_client/utils.cc |
+++ b/components/update_client/utils.cc |
@@ -134,11 +134,11 @@ std::string BuildProtocolRequest( |
base::StringAppendF(&request, " dlpref=\"%s\"", |
download_preference.c_str()); |
if (updater_state_attributes && |
- updater_state_attributes->count(UpdaterState::kDomainJoined)) { |
+ updater_state_attributes->count(UpdaterState::kIsEnterpriseUser)) { |
base::StringAppendF( |
&request, " %s=\"%s\"", // domainjoined |
- UpdaterState::kDomainJoined, |
- (*updater_state_attributes)[UpdaterState::kDomainJoined].c_str()); |
+ UpdaterState::kIsEnterpriseUser, |
+ (*updater_state_attributes)[UpdaterState::kIsEnterpriseUser].c_str()); |
} |
base::StringAppendF(&request, ">"); |
@@ -164,7 +164,7 @@ std::string BuildProtocolRequest( |
if (updater_state_attributes) { |
base::StringAppendF(&request, "<updater"); |
for (const auto& attr : *updater_state_attributes) { |
- if (attr.first != UpdaterState::kDomainJoined) { |
+ if (attr.first != UpdaterState::kIsEnterpriseUser) { |
base::StringAppendF(&request, " %s=\"%s\"", attr.first.c_str(), |
attr.second.c_str()); |
} |