Rename to agent_state_.ClearAllFields().
I thought it was nice to name everything Clear, but when I tried to use it in one of the pending PRs it felt too much like action from a distance to clear the agent state which causes the fields to be cleared. So the more explicit name (like you suggested it) is better. Sorry about the churn. Change-Id: I33ab0b02a714dd93c2375ec28327a5eb58748135 Reviewed-on: https://chromium-review.googlesource.com/1159996Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Johannes Henkel <johannes@chromium.org> Cr-Commit-Position: refs/heads/master@{#580235}
Showing
Please register or sign in to comment