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

Issue 10406012: Base: Add power requirements to the System monitor. (Closed)

Created:
8 years, 7 months ago by rvargas (doing something else)
Modified:
8 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org, chrome-win8-eng_google.com
Visibility:
Public.

Description

Base: Add power requirements to the System monitor. The only thing we need in the short term is CPU_REQUIRED, and that part is implemented for all platforms (as far as it makes sense). The other options are implemented for Windows, but given that currently there's no user, I expect the implementation for other platforms to be written when there's an actual need for it. BUG=126591 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137960

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -3 lines) Patch
M base/system_monitor/system_monitor.h View 1 2 3 4 4 chunks +31 lines, -0 lines 0 comments Download
M base/system_monitor/system_monitor_android.cc View 1 2 3 4 2 chunks +17 lines, -1 line 0 comments Download
M base/system_monitor/system_monitor_posix.cc View 1 2 3 4 2 chunks +17 lines, -1 line 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M base/system_monitor/system_monitor_win.cc View 1 2 3 4 5 2 chunks +147 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
rvargas (doing something else)
Please take a look.
8 years, 7 months ago (2012-05-16 20:34:11 UTC) #1
rvargas (doing something else)
Actually, I think I'll have to change the interface to allow multiple calls with the ...
8 years, 7 months ago (2012-05-17 02:13:58 UTC) #2
rvargas (doing something else)
OK... changed the API and added unit tests. Please take a look.
8 years, 7 months ago (2012-05-17 19:34:38 UTC) #3
brettw
https://chromiumcodereview.appspot.com/10406012/diff/13001/base/system_monitor/system_monitor.h File base/system_monitor/system_monitor.h (right): https://chromiumcodereview.appspot.com/10406012/diff/13001/base/system_monitor/system_monitor.h#newcode206 base/system_monitor/system_monitor.h:206: std::map<std::string, std::pair<HANDLE, int>> handles_; ">>" -> "> >" https://chromiumcodereview.appspot.com/10406012/diff/13001/base/system_monitor/system_monitor_android.cc ...
8 years, 7 months ago (2012-05-18 05:47:05 UTC) #4
rvargas (doing something else)
Thanks. All should be fixed now. https://chromiumcodereview.appspot.com/10406012/diff/13001/base/system_monitor/system_monitor_android.cc File base/system_monitor/system_monitor_android.cc (right): https://chromiumcodereview.appspot.com/10406012/diff/13001/base/system_monitor/system_monitor_android.cc#newcode11 base/system_monitor/system_monitor_android.cc:11: if (requirement == ...
8 years, 7 months ago (2012-05-18 18:11:04 UTC) #5
brettw
https://chromiumcodereview.appspot.com/10406012/diff/14007/base/system_monitor/system_monitor_win.cc File base/system_monitor/system_monitor_win.cc (right): https://chromiumcodereview.appspot.com/10406012/diff/14007/base/system_monitor/system_monitor_win.cc#newcode12 base/system_monitor/system_monitor_win.cc:12: typedef std::map<std::string, std::pair<HANDLE, int> > HanleMap; How did you ...
8 years, 7 months ago (2012-05-18 18:19:46 UTC) #6
rvargas (doing something else)
Once again :( https://chromiumcodereview.appspot.com/10406012/diff/14007/base/system_monitor/system_monitor_win.cc File base/system_monitor/system_monitor_win.cc (right): https://chromiumcodereview.appspot.com/10406012/diff/14007/base/system_monitor/system_monitor_win.cc#newcode12 base/system_monitor/system_monitor_win.cc:12: typedef std::map<std::string, std::pair<HANDLE, int> > HanleMap; ...
8 years, 7 months ago (2012-05-18 18:44:52 UTC) #7
brettw
8 years, 7 months ago (2012-05-18 19:28:10 UTC) #8
lgtm

Powered by Google App Engine
This is Rietveld 408576698