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

Issue 2446453002: Refactor ShouldLockScreenBeforeSuspending to ShouldLockScreenAutomatically (Closed)

Created:
4 years, 2 months ago by Qiang(Joe) Xu
Modified:
4 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, sadrul, derat+watch_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ShouldLockScreenBeforeSuspending to ShouldLockScreenAutomatically CL reasoning: (1) in line with the pref setting name prefs::kEnableAutoScreenLock (2) making it more generic for other call usages BUG=658390 TEST=trybot test Committed: https://crrev.com/b3fd59ca9f44740cee6110dfde3ebd2c2f792ff5 Cr-Commit-Position: refs/heads/master@{#427273}

Patch Set 1 #

Total comments: 2

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -30 lines) Patch
M ash/common/session/session_state_delegate.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ash/common/test/test_session_state_delegate.h View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/common/test/test_session_state_delegate.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/power/power_event_observer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/chromeos/power/power_event_observer_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M ash/test/ash_test_base.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/ash_test_base.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (12 generated)
Qiang(Joe) Xu
Daniel/Bartosz for ash/ review Xiyuan for webui/ review Thanks!
4 years, 2 months ago (2016-10-21 22:25:34 UTC) #5
Daniel Erat
lgtm thanks! https://codereview.chromium.org/2446453002/diff/1/ash/common/session/session_state_delegate.h File ash/common/session/session_state_delegate.h (right): https://codereview.chromium.org/2446453002/diff/1/ash/common/session/session_state_delegate.h#newcode68 ash/common/session/session_state_delegate.h:68: // Returns true if the screen should ...
4 years, 2 months ago (2016-10-21 22:48:51 UTC) #6
Qiang(Joe) Xu
Done for the comment. Also replace xiyuan@ with stevenjb@ for chrome/browser/ui/webui/options/chromeos/ dir owner review Thanks! ...
4 years, 1 month ago (2016-10-24 17:53:55 UTC) #11
stevenjb
c/b/ui/webui/options lgtm
4 years, 1 month ago (2016-10-24 18:00:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2446453002/20001
4 years, 1 month ago (2016-10-25 03:35:16 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 04:06:53 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 04:08:52 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b3fd59ca9f44740cee6110dfde3ebd2c2f792ff5
Cr-Commit-Position: refs/heads/master@{#427273}

Powered by Google App Engine
This is Rietveld 408576698