Chromium Code Reviews| Index: components/update_client/updater_state.cc |
| diff --git a/components/update_client/updater_state.cc b/components/update_client/updater_state.cc |
| index 0e588bfe7b17c09a3c511454456ed29d7da252dc..503780ad9b42e012c664c0b6060f05674012deb1 100644 |
| --- a/components/update_client/updater_state.cc |
| +++ b/components/update_client/updater_state.cc |
| @@ -14,7 +14,7 @@ |
| namespace update_client { |
| -const char UpdaterState::kDomainJoined[] = "domainjoined"; |
| +const char UpdaterState::kIsEnterpriseUser[] = "domainjoined"; |
|
Roger Tawa OOO till Jul 10th
2016/12/16 21:00:53
I changed the name of the constant but not the val
Georges Khalil
2017/02/09 14:59:57
I think you are right, that it is persisted. But I
|
| UpdaterState::UpdaterState(bool is_machine) : is_machine_(is_machine) {} |
| @@ -33,7 +33,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(); |
| @@ -49,7 +49,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_; |