commit | e8a842d750c364f48c408b3260fa01cc8ba65c3b | [log] [tgz] |
---|---|---|
author | Ben Chan <benchan@chromium.org> | Wed May 17 02:20:28 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri May 19 20:57:32 2017 |
tree | 017ff6e984c376aefee4d71a7a0d48eba7a2b536 | |
parent | e5305e543ec5d39355e32561b8232c9c76e8669e [diff] |
shill: mark several getters as a const method This CL marks several getters (e.g. GetRpcIdentifier) in various classes as a const method as they don't need to change the object state. By marking them as a const method, we can potentially change the related definitions of shill::Logging::ObjectID() to take a const pointer to the associated object. BUG=None TEST=Run unit tests. Change-Id: I562e56919b05dd0a50a255ca70fc3cbaf428971b Reviewed-on: https://chromium-review.googlesource.com/508052 Commit-Ready: Ben Chan <benchan@chromium.org> Tested-by: Ben Chan <benchan@chromium.org> Reviewed-by: Eric Caruso <ejcaruso@chromium.org>