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

Issue 10511021: Add a new version of the power save blocker class, to be implemented for all platforms. (Closed)

Created:
8 years, 6 months ago by Mike Mammarella
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org, Randy Smith (Not in Mondays)
Visibility:
Public.

Description

Add a new version of the power save blocker class, to be implemented for all platforms in subsequent CLs. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140460

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -0 lines) Patch
M content/browser/power_save_blocker.h View 1 2 3 4 2 chunks +47 lines, -0 lines 2 comments Download

Messages

Total messages: 16 (0 generated)
Mike Mammarella
https://chromiumcodereview.appspot.com/10511021/diff/1003/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/1003/content/browser/power_save_blocker2.h#newcode43 content/browser/power_save_blocker2.h:43: PowerSaveBlockerImpl* impl; I could also make this a scoped_refptr ...
8 years, 6 months ago (2012-06-04 21:53:42 UTC) #1
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10511021/diff/6001/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/6001/content/browser/power_save_blocker2.h#newcode32 content/browser/power_save_blocker2.h:32: explicit PowerSaveBlocker2(PowerSaveBlockerType type); Can we get a string to ...
8 years, 6 months ago (2012-06-04 21:58:52 UTC) #2
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10511021/diff/1003/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/1003/content/browser/power_save_blocker2.h#newcode43 content/browser/power_save_blocker2.h:43: PowerSaveBlockerImpl* impl; I have baggage per-blocker, so I'd prefer ...
8 years, 6 months ago (2012-06-04 22:00:30 UTC) #3
Mike Mammarella
https://chromiumcodereview.appspot.com/10511021/diff/6001/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/6001/content/browser/power_save_blocker2.h#newcode32 content/browser/power_save_blocker2.h:32: explicit PowerSaveBlocker2(PowerSaveBlockerType type); On 2012/06/04 21:58:52, Avi wrote: > ...
8 years, 6 months ago (2012-06-04 22:21:28 UTC) #4
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10511021/diff/4002/content/content_browser.gypi File content/content_browser.gypi (right): https://chromiumcodereview.appspot.com/10511021/diff/4002/content/content_browser.gypi#newcode441 content/content_browser.gypi:441: 'browser/power_save_blocker2.h', Can we just use the same file as ...
8 years, 6 months ago (2012-06-04 23:28:30 UTC) #5
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10511021/diff/4002/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/4002/content/browser/power_save_blocker2.h#newcode16 content/browser/power_save_blocker2.h:16: class CONTENT_EXPORT PowerSaveBlocker2 { ... and I believe this ...
8 years, 6 months ago (2012-06-04 23:34:48 UTC) #6
Avi (use Gerrit)
I'd be good implementing this. LGTM
8 years, 6 months ago (2012-06-04 23:50:50 UTC) #7
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10511021/diff/4002/content/content_browser.gypi File content/content_browser.gypi (right): https://chromiumcodereview.appspot.com/10511021/diff/4002/content/content_browser.gypi#newcode441 content/content_browser.gypi:441: 'browser/power_save_blocker2.h', Clever! I like it, as long as we ...
8 years, 6 months ago (2012-06-05 00:21:52 UTC) #8
Mike Mammarella
https://chromiumcodereview.appspot.com/10511021/diff/4002/content/browser/power_save_blocker2.h File content/browser/power_save_blocker2.h (right): https://chromiumcodereview.appspot.com/10511021/diff/4002/content/browser/power_save_blocker2.h#newcode16 content/browser/power_save_blocker2.h:16: class CONTENT_EXPORT PowerSaveBlocker2 { On 2012/06/04 23:34:48, rvargas wrote: ...
8 years, 6 months ago (2012-06-05 00:28:42 UTC) #9
rvargas (doing something else)
LGTM
8 years, 6 months ago (2012-06-05 00:30:31 UTC) #10
Avi (use Gerrit)
LGTM! Whoo! Ready to implement.
8 years, 6 months ago (2012-06-05 00:31:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mdm@chromium.org/10511021/9002
8 years, 6 months ago (2012-06-05 00:39:40 UTC) #12
rvargas (doing something else)
https://chromiumcodereview.appspot.com/10511021/diff/9002/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): https://chromiumcodereview.appspot.com/10511021/diff/9002/content/browser/power_save_blocker.h#newcode96 content/browser/power_save_blocker.h:96: scoped_refptr<Delegate> delegate; nit: this should be delegate_
8 years, 6 months ago (2012-06-05 00:48:50 UTC) #13
Avi (use Gerrit)
On 2012/06/05 00:31:19, Avi wrote: > LGTM! Whoo! Ready to implement. I see what you ...
8 years, 6 months ago (2012-06-05 00:57:34 UTC) #14
Mike Mammarella
Yep, that's why I wanted scoped_refptr. :) https://chromiumcodereview.appspot.com/10511021/diff/9002/content/browser/power_save_blocker.h File content/browser/power_save_blocker.h (right): https://chromiumcodereview.appspot.com/10511021/diff/9002/content/browser/power_save_blocker.h#newcode96 content/browser/power_save_blocker.h:96: scoped_refptr<Delegate> delegate; ...
8 years, 6 months ago (2012-06-05 01:02:12 UTC) #15
Avi (use Gerrit)
8 years, 6 months ago (2012-06-05 01:54:03 UTC) #16
On 2012/06/05 01:02:12, Mike Mammarella wrote:
> Yep, that's why I wanted scoped_refptr. :)

And I need it too, for the same reason. You, sir, are more forward-looking than
me.

Powered by Google App Engine
This is Rietveld 408576698