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

Issue 6486007: Introducing ResumeLibrary to track system resume signal (Closed)

Created:
9 years, 10 months ago by glotov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org, Dmitry Polukhin
Visibility:
Public.

Description

Introducing ResumeLibrary to track system resume signal Currently used for updating clock view when system resumed. BUG=chromium-os:11121 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74951

Patch Set 1 #

Total comments: 8

Patch Set 2 : ResumeLibrary removed, its functions moved to PowerLibrary #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M chrome/browser/chromeos/cros/power_library.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/cros/power_library.cc View 1 4 chunks +27 lines, -0 lines 2 comments Download
M chrome/browser/chromeos/low_battery_observer.h View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/clock_menu_button.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/status/power_menu_button.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
glotov
Hi guys! Please have a look.
9 years, 10 months ago (2011-02-10 20:22:18 UTC) #1
Charlie Lee
LGTM as long as the tests pass.
9 years, 10 months ago (2011-02-10 20:30:45 UTC) #2
Charlie Lee
Looks like you need to rev the cros DEPS before this. On 2011/02/10 20:30:45, Charlie ...
9 years, 10 months ago (2011-02-10 20:32:01 UTC) #3
glotov
I have not committed yet my CLs on Chromeos side. This must be the reason. ...
9 years, 10 months ago (2011-02-10 20:35:16 UTC) #4
Nikita (slow)
LGTM once trybots are fine. May be it makes sense to extend PowerLibrary instead? http://codereview.chromium.org/6486007/diff/1/chrome/browser/chromeos/cros/resume_library.cc ...
9 years, 10 months ago (2011-02-11 11:54:51 UTC) #5
Charlie Lee
I second that idea too. PowerLibrary seems like an ideal place for the resume logic. ...
9 years, 10 months ago (2011-02-11 18:08:27 UTC) #6
glotov
Please see the last reply about power_library idea. Pleas tell me what you think then. ...
9 years, 10 months ago (2011-02-11 18:20:56 UTC) #7
Charlie Lee
Another option is to put it in the ScreenLockLibrary. I think we should try to ...
9 years, 10 months ago (2011-02-11 18:34:54 UTC) #8
Nikita (slow)
On Fri, Feb 11, 2011 at 9:34 PM, Charlie Lee <chocobo@chromium.org> wrote: > Another option ...
9 years, 10 months ago (2011-02-11 18:51:07 UTC) #9
glotov
All done, please have a look.
9 years, 10 months ago (2011-02-15 14:13:29 UTC) #10
Nikita (slow)
LGTM unit_tests hang seems like a flake http://codereview.chromium.org/6486007/diff/13001/chrome/browser/chromeos/cros/power_library.cc File chrome/browser/chromeos/cros/power_library.cc (right): http://codereview.chromium.org/6486007/diff/13001/chrome/browser/chromeos/cros/power_library.cc#newcode27 chrome/browser/chromeos/cros/power_library.cc:27: chromeos::DisconnectPowerStatus(power_status_connection_); set ...
9 years, 10 months ago (2011-02-15 15:23:19 UTC) #11
glotov
unit_tests work fine locally. http://codereview.chromium.org/6486007/diff/13001/chrome/browser/chromeos/cros/power_library.cc File chrome/browser/chromeos/cros/power_library.cc (right): http://codereview.chromium.org/6486007/diff/13001/chrome/browser/chromeos/cros/power_library.cc#newcode27 chrome/browser/chromeos/cros/power_library.cc:27: chromeos::DisconnectPowerStatus(power_status_connection_); On 2011/02/15 15:23:20, Nikita ...
9 years, 10 months ago (2011-02-15 15:35:49 UTC) #12
Nikita (slow)
9 years, 10 months ago (2011-02-15 16:40:17 UTC) #13
browser_tests have multiple test failures and ui_tests are still running for
linux_chromeos

Powered by Google App Engine
This is Rietveld 408576698