Index: components/update_client/updater_state.cc |
diff --git a/components/update_client/updater_state.cc b/components/update_client/updater_state.cc |
index 035e6c2f2302ec3e78fc02b1737488c6b81017da..6bc167d9ee7569bfc3a77317f0ffba2e11c3d6b4 100644 |
--- a/components/update_client/updater_state.cc |
+++ b/components/update_client/updater_state.cc |
@@ -15,7 +15,7 @@ |
namespace update_client { |
-const char UpdaterState::kDomainJoined[] = "domainjoined"; |
+const char UpdaterState::kIsEnterpriseUser[] = "domainjoined"; |
UpdaterState::UpdaterState(bool is_machine) : is_machine_(is_machine) {} |
@@ -34,7 +34,7 @@ std::unique_ptr<UpdaterState::Attributes> UpdaterState::GetState( |
#if defined(OS_WIN) |
void UpdaterState::ReadState() { |
- is_joined_to_domain_ = IsJoinedToDomain(); |
+ is_enterprise_user_ = IsEnterpriseUser(); |
#if defined(GOOGLE_CHROME_BUILD) |
updater_name_ = GetUpdaterName(); |
@@ -50,7 +50,7 @@ void UpdaterState::ReadState() { |
UpdaterState::Attributes UpdaterState::BuildAttributes() const { |
Attributes attributes; |
- attributes[kDomainJoined] = is_joined_to_domain_ ? "1" : "0"; |
+ attributes[kIsEnterpriseUser] = is_enterprise_user_ ? "1" : "0"; |
attributes["name"] = updater_name_; |