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

Issue 21187: Disable battery power detection on POSIX since we don't currently use it. (Closed)

Created:
11 years, 10 months ago by jeremy
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Disable battery power detection on POSIX since we don't currently use it. Batter Power is used on Windows to toggle HiRest timers, but this isn't applicable on other platforms.

Patch Set 1 #

Patch Set 2 : A couple of small fixes #

Patch Set 3 : Much less invasive version. #

Patch Set 4 : Remove another ifdef #

Patch Set 5 : remove another ifdef #

Total comments: 4

Patch Set 6 : Fixes for jrg's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -203 lines) Patch
M base/system_monitor.h View 1 2 3 4 5 1 chunk +130 lines, -118 lines 0 comments Download
M base/system_monitor.cc View 1 2 3 4 1 chunk +89 lines, -85 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jeremy
Mike: Is the underlying assumption of this CL correct. jrg/evan: general lgtm since this touches ...
11 years, 10 months ago (2009-02-09 22:14:45 UTC) #1
Evan Martin
+craig since his change is related As I said on IRC, it seems odd to ...
11 years, 10 months ago (2009-02-09 22:17:25 UTC) #2
John Grabowski
On 2009/02/09 22:17:25, Evan Martin wrote: > +craig since his change is related > > ...
11 years, 10 months ago (2009-02-09 22:31:43 UTC) #3
Mike Belshe
I agree with others that I don't like the ifdef approach; the system_monitor.h/cpp should be ...
11 years, 10 months ago (2009-02-09 23:03:02 UTC) #4
John Grabowski
LGTM, but wait for comments by others who may have stronger opinions. http://codereview.chromium.org/21187/diff/3010/20 File base/system_monitor.cc ...
11 years, 10 months ago (2009-02-09 23:25:30 UTC) #5
jeremy
New snapshot uploaded. http://codereview.chromium.org/21187/diff/3010/20 File base/system_monitor.cc (right): http://codereview.chromium.org/21187/diff/3010/20#newcode11 Line 11: #if defined(ENABLE_BATTERY_MONITORING) gcc yells if ...
11 years, 10 months ago (2009-02-09 23:30:49 UTC) #6
Evan Martin
looks fine to me. i leave it to mbelshe for final lgtm.
11 years, 10 months ago (2009-02-09 23:34:03 UTC) #7
Mike Belshe
lgtm
11 years, 10 months ago (2009-02-10 00:36:45 UTC) #8
Craig Schlenter
11 years, 10 months ago (2009-02-10 04:37:21 UTC) #9
On 2009/02/09 22:17:25, Evan Martin wrote:
> +craig since his change is related

My change was done blindly, sorry - I should have checked to see how the code
was being used first. This change looks good...

Powered by Google App Engine
This is Rietveld 408576698