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

Issue 10538013: Content: Implement PowerSaveBlocker2 for windows. (Closed)

Created:
8 years, 6 months ago by rvargas (doing something else)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, Mike Mammarella
Visibility:
Public.

Description

Content: Implement PowerSaveBlocker2 for windows. BUG=126591 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140668

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -0 lines) Patch
M content/browser/power_save_blocker_win.cc View 1 2 3 2 chunks +172 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
rvargas (doing something else)
cpu: please review Avi: mostly for owners.
8 years, 6 months ago (2012-06-05 17:57:15 UTC) #1
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc#newcode189 content/browser/power_save_blocker_win.cc:189: : delegate_(new PowerSaveBlocker::Delegate(type, reason)) { The only thing I ...
8 years, 6 months ago (2012-06-05 18:11:55 UTC) #2
Mike Mammarella
https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc#newcode39 content/browser/power_save_blocker_win.cc:39: #define PowerSaveBlocker PowerSaveBlocker2 Hey, this is clever. I'm going ...
8 years, 6 months ago (2012-06-05 18:28:48 UTC) #3
rvargas (doing something else)
Thanks. https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc#newcode189 content/browser/power_save_blocker_win.cc:189: : delegate_(new PowerSaveBlocker::Delegate(type, reason)) { On 2012/06/05 18:11:55, ...
8 years, 6 months ago (2012-06-05 18:39:50 UTC) #4
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc#newcode147 content/browser/power_save_blocker_win.cc:147: ~Delegate() {} When I copy this code, I get ...
8 years, 6 months ago (2012-06-05 18:48:34 UTC) #5
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/1/content/browser/power_save_blocker_win.cc#newcode147 content/browser/power_save_blocker_win.cc:147: ~Delegate() {} On 2012/06/05 18:48:34, Avi wrote: > When ...
8 years, 6 months ago (2012-06-05 18:58:19 UTC) #6
Avi (use Gerrit)
lgtm I'm happy enough with what I see. Find someone else to review the windows ...
8 years, 6 months ago (2012-06-05 19:02:54 UTC) #7
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc#newcode160 content/browser/power_save_blocker_win.cc:160: const std::string reason_; why is this const?
8 years, 6 months ago (2012-06-05 19:03:29 UTC) #8
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc#newcode160 content/browser/power_save_blocker_win.cc:160: const std::string reason_; On 2012/06/05 19:03:29, Avi wrote: > ...
8 years, 6 months ago (2012-06-05 19:06:04 UTC) #9
Avi (use Gerrit)
I don't particularly care, but I've never seen anyone do it that way before.
8 years, 6 months ago (2012-06-05 19:15:11 UTC) #10
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/10538013/diff/9001/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): http://codereview.chromium.org/10538013/diff/9001/content/browser/power_save_blocker_win.cc#newcode162 content/browser/power_save_blocker_win.cc:162: }; disallow copy and assign?
8 years, 6 months ago (2012-06-05 23:26:22 UTC) #11
rvargas (doing something else)
Thanks https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://chromiumcodereview.appspot.com/10538013/diff/9001/content/browser/power_save_blocker_win.cc#newcode162 content/browser/power_save_blocker_win.cc:162: }; On 2012/06/05 23:26:22, cpu wrote: > disallow ...
8 years, 6 months ago (2012-06-05 23:52:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/10538013/4
8 years, 6 months ago (2012-06-05 23:53:13 UTC) #13
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 23:57:25 UTC) #14
Try job failure for 10538013-4 on win for step "update".
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698