Misc refactoring of SessionManagerClient.

- In ObjectProxy::CallMethod, in case of error, always LOG.
- SessionManagerClientImpl's dbus call error logging is now relying
  on ObjectProxy, so use EmptyResponseCallback wherever possible.
- Introduce OnNoOutputParamResponse(), for sharing the code (OnStorePolicy
  and OnArcMethod).
- Use nullptr instead of NULL.
- Use "= default" for ctor and dtor if possible.
- Initialize member var on declaration, if possible.

BUG=n/a
TEST=Ran trybots.

Review-Url: https://codereview.chromium.org/2889683006
Cr-Commit-Position: refs/heads/master@{#473513}


CrOS-Libchrome-Original-Commit: 6c197efb6eaff2b3fee5e037ba53791000e400b2
1 file changed
tree: 1533b3a26febeb29dc3e26b548166d9ccfe1b4f6
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/