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

Issue 8251008: Add screen power save block level. (Closed)

Created:
9 years, 2 months ago by Avi (use Gerrit)
Modified:
9 years, 2 months ago
CC:
chromium-reviews, dpranke+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : tweaky #

Patch Set 3 : ready #

Total comments: 4

Patch Set 4 : base::Bind #

Total comments: 2

Patch Set 5 : dine #

Patch Set 6 : build fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -78 lines) Patch
M content/browser/download/base_file.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/power_save_blocker.h View 1 2 3 4 5 1 chunk +25 lines, -12 lines 1 comment Download
M content/browser/power_save_blocker_common.cc View 1 2 3 1 chunk +37 lines, -33 lines 0 comments Download
M content/browser/power_save_blocker_mac.cc View 1 2 3 5 3 chunks +32 lines, -25 lines 0 comments Download
M content/browser/power_save_blocker_stub.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/power_save_blocker_win.cc View 1 2 3 5 2 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Avi (use Gerrit)
mark- mac stuff jam- windows and rest
9 years, 2 months ago (2011-10-13 03:42:34 UTC) #1
Mark Mentovai
This is an intentionally incomplete review but I thought you might be able to get ...
9 years, 2 months ago (2011-10-13 04:29:18 UTC) #2
jam
lgtm for my parts http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h#newcode37 content/browser/power_save_blocker.h:37: static void AdjustBlockCount(std::vector<int> deltas); const ...
9 years, 2 months ago (2011-10-13 16:40:28 UTC) #3
Avi (use Gerrit)
http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h#newcode37 content/browser/power_save_blocker.h:37: static void AdjustBlockCount(std::vector<int> deltas); The reason I didn't was ...
9 years, 2 months ago (2011-10-13 17:52:44 UTC) #4
jam
http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): http://codereview.chromium.org/8251008/diff/1013/content/browser/power_save_blocker.h#newcode37 content/browser/power_save_blocker.h:37: static void AdjustBlockCount(std::vector<int> deltas); On 2011/10/13 17:52:44, Avi wrote: ...
9 years, 2 months ago (2011-10-13 18:38:35 UTC) #5
Avi (use Gerrit)
PTAL
9 years, 2 months ago (2011-10-13 18:44:56 UTC) #6
Mark Mentovai
LG otherwise. http://codereview.chromium.org/8251008/diff/12001/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): http://codereview.chromium.org/8251008/diff/12001/content/browser/power_save_blocker.h#newcode26 content/browser/power_save_blocker.h:26: explicit PowerSaveBlocker(PowerSaveBlockerType type); This should never accept ...
9 years, 2 months ago (2011-10-13 19:09:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/8251008/12008
9 years, 2 months ago (2011-10-13 20:46:09 UTC) #8
commit-bot: I haz the power
Change committed as 105401
9 years, 2 months ago (2011-10-13 23:00:37 UTC) #9
Peter Mayo (wrong one)
On 2011/10/13 23:00:37, I haz the power (commit-bot) wrote: > Change committed as 105401 From ...
9 years, 2 months ago (2011-10-13 23:37:55 UTC) #10
Avi (use Gerrit)
9 years, 2 months ago (2011-10-14 00:16:06 UTC) #11
http://codereview.chromium.org/8251008/diff/9002/content/browser/power_save_b...
File content/browser/power_save_blocker.h (right):

http://codereview.chromium.org/8251008/diff/9002/content/browser/power_save_b...
content/browser/power_save_blocker.h:26: kPowerSaveBlockPreventStateCount
The pattern of putting a count as the last item in an enum is as old as time. If
I don't do this, compiles die.

Powered by Google App Engine
This is Rietveld 408576698