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

Issue 811973002: Enable lucid sleep (wake on wi-fi SSID) and add to Privacy options. (Closed)

Created:
6 years ago by michaelpg
Modified:
5 years, 11 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, asvitkine+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Chirantan Ekbote, samueltan, Sameer Nanda
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable lucid sleep (wake on wi-fi SSID) and add to Privacy options. * Change the wake on wifi pref to a boolean. Eventually we will need to worry about packets, but for now having an integer pref makes things too complicated, partially because if/when we do add the packets feature, we don't want to overwrite user settings. * Make the WakeOnWifiFeatures enum bitfield-like for easier setting of the options now and in the future. * Set the pref to enabled by default. * Add the --disable-wake-on-wifi kill switch to WakeOnWifiManager. * --wake-on-packet still works unless --disable-wake-on-wifi is also specified. BUG=424719 R=stevenjb@chromium.org,asvitkine@chromium.org CC=dbeam@chromium.org TBR=asvitkine@chromium.org # asvitkine OOO, but this complies with his past reviews Committed: https://crrev.com/592b07ae355027d6128b4b2cb2c603e3159787bf Cr-Commit-Position: refs/heads/master@{#309576}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : rebase #

Total comments: 13

Patch Set 3 : early exits #

Patch Set 4 : string change #

Patch Set 5 : Ready for review #

Patch Set 6 : add function to chromeos::switches. rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -35 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/wake_on_wifi_manager.h View 1 2 3 4 4 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/net/wake_on_wifi_manager.cc View 1 2 3 4 5 7 chunks +44 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 4 5 4 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 5 chunks +36 lines, -6 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chromeos/chromeos_switches.h View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M chromeos/chromeos_switches.cc View 1 2 3 4 5 3 chunks +10 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
michaelpg
steven - feel free to pre-review pending UI decision whether to include this checkbox. I've ...
6 years ago (2014-12-17 02:30:54 UTC) #2
stevenjb
https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc File chrome/browser/chromeos/net/wake_on_wifi_manager.cc (right): https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc#newcode177 chrome/browser/chromeos/net/wake_on_wifi_manager.cc:177: return; In cases like this where we might be ...
6 years ago (2014-12-17 22:22:55 UTC) #4
michaelpg
https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc File chrome/browser/chromeos/net/wake_on_wifi_manager.cc (right): https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc#newcode177 chrome/browser/chromeos/net/wake_on_wifi_manager.cc:177: return; On 2014/12/17 22:22:54, stevenjb wrote: > In cases ...
6 years ago (2014-12-22 22:23:19 UTC) #5
stevenjb (google-dont-use)
lgtm https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc File chrome/browser/chromeos/net/wake_on_wifi_manager.cc (right): https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc#newcode177 chrome/browser/chromeos/net/wake_on_wifi_manager.cc:177: return; On 2014/12/22 22:23:18, michaelpg wrote: > On ...
6 years ago (2014-12-22 23:30:23 UTC) #7
Chirantan Ekbote
> Change the wake on wifi pref to a boolean. Eventually we will need to ...
6 years ago (2014-12-23 00:01:09 UTC) #8
michaelpg
On 2014/12/23 00:01:09, Chirantan Ekbote wrote: > > Change the wake on wifi pref to ...
6 years ago (2014-12-23 03:05:47 UTC) #9
michaelpg
On 2014/12/22 23:30:23, stevenjb (google-dont-use) wrote: > lgtm > > https://codereview.chromium.org/811973002/diff/40001/chrome/browser/chromeos/net/wake_on_wifi_manager.cc > File chrome/browser/chromeos/net/wake_on_wifi_manager.cc (right): ...
6 years ago (2014-12-23 03:42:51 UTC) #10
stevenjb
lgtm (You can always use TBR to appease presbmit if that happens)
5 years, 12 months ago (2014-12-23 19:27:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811973002/180001
5 years, 12 months ago (2014-12-23 19:29:42 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:180001)
5 years, 12 months ago (2014-12-23 19:46:40 UTC) #16
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/592b07ae355027d6128b4b2cb2c603e3159787bf Cr-Commit-Position: refs/heads/master@{#309576}
5 years, 12 months ago (2014-12-23 19:48:29 UTC) #17
Alexei Svitkine (slow)
5 years, 11 months ago (2015-01-05 16:38:47 UTC) #18
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698