DescriptionMisc 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}
Committed: https://chromium.googlesource.com/chromium/src/+/6c197efb6eaff2b3fee5e037ba53791000e400b2
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments. #Patch Set 3 : git cl format. #
Dependent Patchsets: Messages
Total messages: 18 (12 generated)
|