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

Issue 12218123: Convert SessionLengthLimiter to OneShotTimer (Closed)

Created:
7 years, 10 months ago by bartfab (slow)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, derat+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Convert SessionLengthLimiter to OneShotTimer This CL converts the SessionLengthLimiter from a RepeatingTimer that fires once per second to a OneShotTimer that fires when the session time is up and the user should be logged out. BUG=175797 TEST=Manual, unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182214

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -218 lines) Patch
M chrome/browser/chromeos/power/session_length_limiter.h View 1 chunk +1 line, -13 lines 0 comments Download
M chrome/browser/chromeos/power/session_length_limiter.cc View 3 chunks +26 lines, -46 lines 2 comments Download
M chrome/browser/chromeos/power/session_length_limiter_unittest.cc View 11 chunks +173 lines, -159 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bartfab (slow)
Hi Nikita, Could you please review?
7 years, 10 months ago (2013-02-12 20:13:54 UTC) #1
Daniel Erat
lgtm https://chromiumcodereview.appspot.com/12218123/diff/1/chrome/browser/chromeos/power/session_length_limiter.cc File chrome/browser/chromeos/power/session_length_limiter.cc (right): https://chromiumcodereview.appspot.com/12218123/diff/1/chrome/browser/chromeos/power/session_length_limiter.cc#newcode119 chrome/browser/chromeos/power/session_length_limiter.cc:119: timer_.reset(); what's the reason to destroy the timer ...
7 years, 10 months ago (2013-02-12 20:40:43 UTC) #2
bartfab (slow)
https://chromiumcodereview.appspot.com/12218123/diff/1/chrome/browser/chromeos/power/session_length_limiter.cc File chrome/browser/chromeos/power/session_length_limiter.cc (right): https://chromiumcodereview.appspot.com/12218123/diff/1/chrome/browser/chromeos/power/session_length_limiter.cc#newcode119 chrome/browser/chromeos/power/session_length_limiter.cc:119: timer_.reset(); On 2013/02/12 20:40:43, Daniel Erat wrote: > what's ...
7 years, 10 months ago (2013-02-13 10:32:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/12218123/1
7 years, 10 months ago (2013-02-13 10:34:41 UTC) #4
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 14:27:30 UTC) #5
Message was sent while issue was closed.
Change committed as 182214

Powered by Google App Engine
This is Rietveld 408576698