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

Issue 11784016: chromeos: Block system suspend while uploading files to Drive (Closed)

Created:
7 years, 11 months ago by hashimoto
Modified:
7 years, 11 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, achuith+watch_chromium.org, dcheng, joi+watch-content_chromium.org, rginda+watch_chromium.org, darin-cc_chromium.org, sail+watch_chromium.org, rdsmith+dwatch_chromium.org, Avi (use Gerrit)
Visibility:
Public.

Description

Make content::PowerSaveBlocker public BUG=152207 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176806

Patch Set 1 #

Patch Set 2 : Fix Linux build failure #

Patch Set 3 : Revert changes for chrome/browser/google_apis, just move the header #

Patch Set 4 : PowerSaveBlocker is a pure interface #

Total comments: 6

Patch Set 5 : Introduce PowerSaveBlockerImpl, mark dtor as pure virtual #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -194 lines) Patch
M content/browser/download/download_browsertest.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/download/download_file_factory.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/download/download_file_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/drag_download_file_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
D content/browser/power_save_blocker.h View 1 chunk +0 lines, -62 lines 0 comments Download
M content/browser/power_save_blocker_android.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M content/browser/power_save_blocker_chromeos.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
A + content/browser/power_save_blocker_impl.h View 1 2 3 4 2 chunks +9 lines, -33 lines 0 comments Download
A + content/browser/power_save_blocker_impl.cc View 1 2 3 4 1 chunk +10 lines, -12 lines 0 comments Download
M content/browser/power_save_blocker_linux.cc View 1 2 3 4 11 chunks +15 lines, -15 lines 0 comments Download
M content/browser/power_save_blocker_mac.cc View 1 2 3 4 5 chunks +8 lines, -8 lines 0 comments Download
M content/browser/power_save_blocker_win.cc View 1 2 3 4 6 chunks +10 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
A + content/public/browser/power_save_blocker.h View 1 2 3 4 2 chunks +8 lines, -24 lines 0 comments Download
M content/public/test/test_file_error_injector.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hashimoto
satorux, Is it OK to add this line for chrome/browser/google_apis/DEPS?
7 years, 11 months ago (2013-01-07 10:13:24 UTC) #1
Randy Smith (Not in Mondays)
CCing PSB folks (Avi, Mike M) in case they want to comment.
7 years, 11 months ago (2013-01-07 16:34:22 UTC) #2
satorux1
I think it'd be cleaner to split this patch into 1) just move the PowerSaveBlocker ...
7 years, 11 months ago (2013-01-08 03:34:45 UTC) #3
Avi (use Gerrit)
jam@ likes double-checking new stuff going into public, but it's probably fine.
7 years, 11 months ago (2013-01-08 03:38:04 UTC) #4
hashimoto
On 2013/01/08 03:34:45, satorux1 wrote: > I think it'd be cleaner to split this patch ...
7 years, 11 months ago (2013-01-08 04:02:08 UTC) #5
hashimoto
jam, avi Could you review this change as owners of content? Now this change only ...
7 years, 11 months ago (2013-01-09 08:59:39 UTC) #6
jam
On 2013/01/09 08:59:39, hashimoto wrote: > jam, avi > Could you review this change as ...
7 years, 11 months ago (2013-01-09 16:54:33 UTC) #7
hashimoto
On 2013/01/09 16:54:33, John Abd-El-Malek wrote: > On 2013/01/09 08:59:39, hashimoto wrote: > > jam, ...
7 years, 11 months ago (2013-01-10 08:40:30 UTC) #8
jam
https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc#newcode116 content/browser/power_save_blocker_win.cc:116: // A second object with different lifetime than the ...
7 years, 11 months ago (2013-01-11 01:24:30 UTC) #9
hashimoto
https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc#newcode116 content/browser/power_save_blocker_win.cc:116: // A second object with different lifetime than the ...
7 years, 11 months ago (2013-01-11 08:39:44 UTC) #10
hashimoto
https://codereview.chromium.org/11784016/diff/28020/content/public/browser/power_save_blocker.h File content/public/browser/power_save_blocker.h (right): https://codereview.chromium.org/11784016/diff/28020/content/public/browser/power_save_blocker.h#newcode42 content/public/browser/power_save_blocker.h:42: On 2013/01/11 08:39:44, hashimoto wrote: > On 2013/01/11 01:24:30, ...
7 years, 11 months ago (2013-01-11 10:48:57 UTC) #11
jam
https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc File content/browser/power_save_blocker_win.cc (right): https://codereview.chromium.org/11784016/diff/28020/content/browser/power_save_blocker_win.cc#newcode116 content/browser/power_save_blocker_win.cc:116: // A second object with different lifetime than the ...
7 years, 11 months ago (2013-01-11 17:28:38 UTC) #12
Mike Mammarella
On 2013/01/11 17:28:38, John Abd-El-Malek wrote: > this is different than what i was wondering ...
7 years, 11 months ago (2013-01-13 00:30:10 UTC) #13
jam
ok, lgtm
7 years, 11 months ago (2013-01-14 06:55:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/11784016/50001
7 years, 11 months ago (2013-01-15 01:45:25 UTC) #15
commit-bot: I haz the power
7 years, 11 months ago (2013-01-15 06:25:18 UTC) #16
Message was sent while issue was closed.
Change committed as 176806

Powered by Google App Engine
This is Rietveld 408576698