Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Issue 2887323002: Do not read redundant output param for StorePolicy DBus call family. (Closed)

Created:
3 years, 7 months ago by hidehiko
Modified:
3 years, 7 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, oshima+watch_chromium.org, hashimoto+watch_chromium.org, Mattias Nissler (ping if slow)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not read redundant output param for StorePolicy DBus call family. For consistency, these will be removed from SessionManager. In case of success, the value is always true, so it is just redundant. BUG=720240 TEST=Ran bots. Review-Url: https://codereview.chromium.org/2887323002 Cr-Commit-Position: refs/heads/master@{#472877} Committed: https://chromium.googlesource.com/chromium/src/+/6eff4f61a15bfee8451bf106d7b74b99f6b4264c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use var. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M chromeos/dbus/session_manager_client.cc View 1 1 chunk +2 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
hidehiko
PTAL.
3 years, 7 months ago (2017-05-18 16:29:25 UTC) #6
Daniel Erat
https://codereview.chromium.org/2887323002/diff/1/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/2887323002/diff/1/chromeos/dbus/session_manager_client.cc#newcode740 chromeos/dbus/session_manager_client.cc:740: callback.Run(bool(response)); i think we usually avoid using c-style casts. ...
3 years, 7 months ago (2017-05-18 16:32:27 UTC) #7
hidehiko
Thank you for quick review! PTAL. https://codereview.chromium.org/2887323002/diff/1/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/2887323002/diff/1/chromeos/dbus/session_manager_client.cc#newcode740 chromeos/dbus/session_manager_client.cc:740: callback.Run(bool(response)); On 2017/05/18 ...
3 years, 7 months ago (2017-05-18 16:54:27 UTC) #10
Daniel Erat
whoops, sorry for misreading it! thanks, lgtm
3 years, 7 months ago (2017-05-18 17:01:53 UTC) #11
hidehiko
Thank you! Submitting.
3 years, 7 months ago (2017-05-18 18:11:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2887323002/20001
3 years, 7 months ago (2017-05-18 18:11:53 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 18:18:59 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6eff4f61a15bfee8451bf106d7b7...

Powered by Google App Engine
This is Rietveld 408576698