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

Issue 589723003: Enable dark_resume_always workaround if the wake-on-packets flag is set (Closed)

Created:
6 years, 3 months ago by Chirantan Ekbote
Modified:
6 years, 3 months ago
Reviewers:
stevenjb, Daniel Erat
CC:
chromium-reviews, davemoore+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, Sameer Nanda
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enable dark_resume_always workaround if the wake-on-packets flag is set The dark_resume_always workaround is necessary for testing wake-on-packets functionality because the mechanism to actually query the wakeup source is not ready yet. This workaround tells the kernel to always enter dark resume and rely on chrome and powerd to detect user activity and transition into fully resumed. BUG=414949 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>; Committed: https://crrev.com/2faeee1528f5ebc1cec10aba595fdd100366aba0 Cr-Commit-Position: refs/heads/master@{#296082}

Patch Set 1 #

Total comments: 1

Patch Set 2 : move code to LightBar class #

Total comments: 1

Patch Set 3 : fix nit #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M chrome/browser/chromeos/power/light_bar.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Chirantan Ekbote
Please take a look.
6 years, 3 months ago (2014-09-20 01:06:46 UTC) #2
Daniel Erat
https://codereview.chromium.org/589723003/diff/1/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://codereview.chromium.org/589723003/diff/1/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode585 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:585: base::WriteFile(base::FilePath(kDarkResumeAlwaysFile), can you put this somewhere else instead of ...
6 years, 3 months ago (2014-09-21 14:49:31 UTC) #3
Daniel Erat
(specifically, somewhere else that's more scoped to this feature)
6 years, 3 months ago (2014-09-21 14:49:54 UTC) #4
Chirantan Ekbote
On 2014/09/21 at 14:49:54, derat wrote: > (specifically, somewhere else that's more scoped to this ...
6 years, 3 months ago (2014-09-22 17:19:26 UTC) #5
Daniel Erat
On 2014/09/22 17:19:26, chirantan wrote: > On 2014/09/21 at 14:49:54, derat wrote: > > (specifically, ...
6 years, 3 months ago (2014-09-22 17:21:46 UTC) #6
Chirantan Ekbote
ptal
6 years, 3 months ago (2014-09-22 19:44:51 UTC) #7
Daniel Erat
lgtm https://codereview.chromium.org/589723003/diff/20001/chrome/browser/chromeos/power/light_bar.cc File chrome/browser/chromeos/power/light_bar.cc (right): https://codereview.chromium.org/589723003/diff/20001/chrome/browser/chromeos/power/light_bar.cc#newcode47 chrome/browser/chromeos/power/light_bar.cc:47: nit: delete extra blank line
6 years, 3 months ago (2014-09-22 19:52:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/589723003/40001
6 years, 3 months ago (2014-09-22 19:59:08 UTC) #12
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-22 22:00:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/589723003/40001
6 years, 3 months ago (2014-09-22 22:04:04 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/14990)
6 years, 3 months ago (2014-09-22 22:13:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/589723003/60001
6 years, 3 months ago (2014-09-22 22:16:52 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001) as d54a92021db53302d6824949dcfdaa1423d5f469
6 years, 3 months ago (2014-09-22 23:03:16 UTC) #21
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/2faeee1528f5ebc1cec10aba595fdd100366aba0 Cr-Commit-Position: refs/heads/master@{#296082}
6 years, 3 months ago (2014-09-22 23:04:09 UTC) #22
Chirantan Ekbote
6 years ago (2014-12-19 23:41:12 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/808783003/ by chirantan@chromium.org.

The reason for reverting is: Kernel changes have landed.  This workaround is no
longer needed..

Powered by Google App Engine
This is Rietveld 408576698