Index: components/update_client/utils.cc |
diff --git a/components/update_client/utils.cc b/components/update_client/utils.cc |
index 0abcbb273c3f8a2ebd7e5d88127be9bb6fd2258d..4868ad9d5f0631ba35dbdf1bbecc8dd3758c4475 100644 |
--- a/components/update_client/utils.cc |
+++ b/components/update_client/utils.cc |
@@ -137,11 +137,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, ">"); |
@@ -167,7 +167,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()); |
} |