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

Issue 2795713003: Do not call GetDisplayDevice for older UPower versions. (Closed)

Created:
3 years, 8 months ago by Lei Zhang
Modified:
3 years, 8 months ago
Reviewers:
timvolodine
CC:
chromium-reviews, timvolodine
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not call GetDisplayDevice for older UPower versions. On Linux, older versions of UPower did not have the GetDisplayDevice method. Trying to call it generates log spam. Modernize the modified file with base::MakeUnique while we are here. BUG=695383 Review-Url: https://codereview.chromium.org/2795713003 Cr-Commit-Position: refs/heads/master@{#463358} Committed: https://chromium.googlesource.com/chromium/src/+/91037c1a4a82985c652ac38826fd5b3fc6d56d91

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase, remove auto-reset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -30 lines) Patch
M device/battery/battery_status_manager_linux.cc View 1 9 chunks +25 lines, -30 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Lei Zhang
3 years, 8 months ago (2017-04-04 18:46:22 UTC) #6
Lei Zhang
End of the week ping.
3 years, 8 months ago (2017-04-08 00:14:08 UTC) #7
timvolodine
thanks for the fix! lgtm % comment below. https://codereview.chromium.org/2795713003/diff/1/device/battery/battery_status_manager_linux.cc File device/battery/battery_status_manager_linux.cc (right): https://codereview.chromium.org/2795713003/diff/1/device/battery/battery_status_manager_linux.cc#newcode547 device/battery/battery_status_manager_linux.cc:547: true); ...
3 years, 8 months ago (2017-04-10 12:50:58 UTC) #8
Lei Zhang
https://codereview.chromium.org/2795713003/diff/1/device/battery/battery_status_manager_linux.cc File device/battery/battery_status_manager_linux.cc (right): https://codereview.chromium.org/2795713003/diff/1/device/battery/battery_status_manager_linux.cc#newcode547 device/battery/battery_status_manager_linux.cc:547: true); On 2017/04/10 12:50:58, timvolodine wrote: > nit: not ...
3 years, 8 months ago (2017-04-10 18:14:48 UTC) #9
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/2795713003/20001
3 years, 8 months ago (2017-04-10 18:15:23 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 19:25:33 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/91037c1a4a82985c652ac38826fd...

Powered by Google App Engine
This is Rietveld 408576698