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

Issue 10543009: Content: Implement PowerSaveBlocker2 for the Mac. (Closed)

Created:
8 years, 6 months ago by Avi (use Gerrit)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Content: Implement PowerSaveBlocker2 for the Mac. BUG=126591 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140664

Patch Set 1 #

Total comments: 12

Patch Set 2 : ch-ch-changes #

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

Messages

Total messages: 18 (0 generated)
Avi (use Gerrit)
Nico: for review mdm, rvargas: FYI Nico, note the new interface; we're building this new ...
8 years, 6 months ago (2012-06-05 19:43:29 UTC) #1
Nico
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode76 content/browser/power_save_blocker_mac.cc:76: // ====== ^^ the deprecated way ^^ vv the ...
8 years, 6 months ago (2012-06-05 20:30:11 UTC) #2
Mike Mammarella
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode76 content/browser/power_save_blocker_mac.cc:76: // ====== ^^ the deprecated way ^^ vv the ...
8 years, 6 months ago (2012-06-05 20:39:30 UTC) #3
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode76 content/browser/power_save_blocker_mac.cc:76: // ====== ^^ the deprecated way ^^ vv the ...
8 years, 6 months ago (2012-06-05 20:40:24 UTC) #4
Nico
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode101 content/browser/power_save_blocker_mac.cc:101: #define PowerSaveBlocker PowerSaveBlocker2 On 2012/06/05 20:40:24, Avi wrote: > ...
8 years, 6 months ago (2012-06-05 20:42:02 UTC) #5
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode101 content/browser/power_save_blocker_mac.cc:101: #define PowerSaveBlocker PowerSaveBlocker2 Yes, that is the definition of ...
8 years, 6 months ago (2012-06-05 20:58:30 UTC) #6
Nico
Other than the nits below I think the CL is ok. https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): ...
8 years, 6 months ago (2012-06-05 21:08:45 UTC) #7
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc File content/browser/power_save_blocker_mac.cc (right): https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc#newcode90 content/browser/power_save_blocker_mac.cc:90: thread->Start(); On 2012/06/05 21:08:45, Nico wrote: > can't you ...
8 years, 6 months ago (2012-06-05 21:11:40 UTC) #8
Nico
On Tue, Jun 5, 2012 at 2:11 PM, <avi@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/10543009/diff/1/** > content/browser/power_save_**blocker_mac.cc<https://chromiumcodereview.appspot.com/10543009/diff/1/content/browser/power_save_blocker_mac.cc> ...
8 years, 6 months ago (2012-06-05 21:15:29 UTC) #9
Avi (use Gerrit)
On 2012/06/05 21:15:29, Nico wrote: > Thinking about this, could you use the blocking pool ...
8 years, 6 months ago (2012-06-05 21:28:32 UTC) #10
Nico
On Tue, Jun 5, 2012 at 2:28 PM, <avi@chromium.org> wrote: > On 2012/06/05 21:15:29, Nico ...
8 years, 6 months ago (2012-06-05 21:36:44 UTC) #11
Avi (use Gerrit)
For machines that are that broken, I'm only concerned with behaving in a vaguely sane ...
8 years, 6 months ago (2012-06-05 21:39:55 UTC) #12
Nico
On Tue, Jun 5, 2012 at 2:39 PM, <avi@chromium.org> wrote: > For machines that are ...
8 years, 6 months ago (2012-06-05 21:41:51 UTC) #13
Nico
otoh, it's what the code did before and we don't have reports of it causing ...
8 years, 6 months ago (2012-06-05 21:45:23 UTC) #14
Avi (use Gerrit)
On 2012/06/05 21:45:23, Nico wrote: > otoh, it's what the code did before and we ...
8 years, 6 months ago (2012-06-05 21:50:45 UTC) #15
Nico
lgtm
8 years, 6 months ago (2012-06-05 22:23:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10543009/3003
8 years, 6 months ago (2012-06-05 23:03:46 UTC) #17
commit-bot: I haz the power
8 years, 6 months ago (2012-06-06 00:16:54 UTC) #18
Change committed as 140664

Powered by Google App Engine
This is Rietveld 408576698