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

Issue 134863002: Track when profiles are last used. (Closed)

Created:
6 years, 11 months ago by bcwhite
Modified:
6 years, 11 months ago
Reviewers:
noms (inactive)
CC:
chromium-reviews, rginda+watch_chromium.org
Visibility:
Public.

Description

Track when profiles are last used. This will allow use to ignore profiles unused for a certain length of time (likely 28 days) when calculating statistics on number of profiles, number of signed-in profiles, etc. BUG=295817 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244760 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245229

Patch Set 1 #

Total comments: 4

Patch Set 2 : added missing AtIndex to function names #

Patch Set 3 : removed unneeded braces #

Patch Set 4 : fixed unittest #

Patch Set 5 : added 'Time' to new functions #

Patch Set 6 : added 'Time' to new functions (again) #

Patch Set 7 : don't send notifications for active-time updates; nobody wants it and some tests aren't prepared fo… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -2 lines) Patch
M chrome/browser/profiles/profile_info_cache.h View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 3 4 5 6 4 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_interface.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
bcwhite
+OWNER :-)
6 years, 11 months ago (2014-01-10 22:08:43 UTC) #1
noms (inactive)
https://codereview.chromium.org/134863002/diff/1/chrome/browser/profiles/profile_info_cache.h File chrome/browser/profiles/profile_info_cache.h (right): https://codereview.chromium.org/134863002/diff/1/chrome/browser/profiles/profile_info_cache.h#newcode60 chrome/browser/profiles/profile_info_cache.h:60: virtual base::Time GetProfileActive(size_t index) const OVERRIDE; I think the ...
6 years, 11 months ago (2014-01-13 16:39:44 UTC) #2
bcwhite
added missing AtIndex to function names
6 years, 11 months ago (2014-01-13 17:05:38 UTC) #3
bcwhite
https://codereview.chromium.org/134863002/diff/1/chrome/browser/profiles/profile_info_cache.h File chrome/browser/profiles/profile_info_cache.h (right): https://codereview.chromium.org/134863002/diff/1/chrome/browser/profiles/profile_info_cache.h#newcode60 chrome/browser/profiles/profile_info_cache.h:60: virtual base::Time GetProfileActive(size_t index) const OVERRIDE; On 2014/01/13 16:39:44, ...
6 years, 11 months ago (2014-01-13 17:05:48 UTC) #4
bcwhite
removed unneeded braces
6 years, 11 months ago (2014-01-13 17:09:46 UTC) #5
bcwhite
fixed unittest
6 years, 11 months ago (2014-01-13 17:42:57 UTC) #6
bcwhite
added 'Time' to new functions
6 years, 11 months ago (2014-01-13 19:06:06 UTC) #7
noms (inactive)
lgtm
6 years, 11 months ago (2014-01-13 20:29:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/134863002/360002
6 years, 11 months ago (2014-01-13 21:05:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/134863002/360002
6 years, 11 months ago (2014-01-14 00:31:41 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=245895
6 years, 11 months ago (2014-01-14 07:21:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/134863002/360002
6 years, 11 months ago (2014-01-14 16:11:30 UTC) #12
commit-bot: I haz the power
Change committed as 244760
6 years, 11 months ago (2014-01-14 17:41:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/134863002/750001
6 years, 11 months ago (2014-01-16 13:55:02 UTC) #14
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 17:27:26 UTC) #15
Message was sent while issue was closed.
Change committed as 245229

Powered by Google App Engine
This is Rietveld 408576698