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

Issue 2468483002: session_manager: Tracks user sessions (Closed)

Created:
4 years, 1 month ago by xiyuan
Modified:
4 years, 1 month ago
CC:
chromium-reviews, extensions-reviews_chromium.org, alemate+watch_chromium.org, blundell+watchlist_chromium.org, oshima+watch_chromium.org, droger+watchlist_chromium.org, aboxhall+watch_chromium.org, achuith+watch_chromium.org, yamaguchi+watch_chromium.org, oka+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, sdefresne+watchlist_chromium.org, rginda+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, fukino+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

session_manager: Tracks user sessions - Add SessionManager::CreateSession to track user sessions. - Wire UserSessionManager::CreateUserSession with it; - Wire crash-and-restart code to call it too; - Add ChromeSessionManagerTest and update crash restore tests to cover user session tracking; BUG=657149 TEST=ChromeSessionManagerTest;CrashRestoreSimpleTest;CrashRestoreComplexTest; Committed: https://crrev.com/30e213c88354e03ea92fa04853150a9e46da077c Cr-Commit-Position: refs/heads/master@{#429080}

Patch Set 1 #

Patch Set 2 : fix compile on non-chromeos #

Total comments: 11

Patch Set 3 : no default arg and other comments in #2 #

Total comments: 2

Patch Set 4 : replace func overload with better names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -89 lines) Patch
M chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc View 1 2 12 chunks +24 lines, -25 lines 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc View 11 chunks +21 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/crash_restore_browsertest.cc View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/chrome_session_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/chrome_session_manager.cc View 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/session/chrome_session_manager_browsertest.cc View 1 chunk +161 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 3 chunks +2 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/system/tray_accessibility_browsertest.cc View 5 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/session_manager/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/session_manager/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/session_manager/core/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/session_manager/core/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
M components/session_manager/core/session_manager.h View 1 2 3 4 chunks +33 lines, -2 lines 0 comments Download
M components/session_manager/core/session_manager.cc View 1 2 3 4 chunks +39 lines, -3 lines 0 comments Download
M components/session_manager/session_manager_types.h View 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
xiyuan
achuith@, please drive the review. rogerta@, for owner ack of making account_id as session_manager's deps ...
4 years, 1 month ago (2016-10-31 16:20:20 UTC) #3
Roger Tawa OOO till Jul 10th
DEPS lgtm
4 years, 1 month ago (2016-10-31 17:20:46 UTC) #7
dmazzoni
lgtm for accessibility and braille_display_private
4 years, 1 month ago (2016-10-31 19:46:51 UTC) #12
achuithb
Overall looks fine; only real concern is the use of the default argument. Tests look ...
4 years, 1 month ago (2016-10-31 21:55:57 UTC) #13
xiyuan
https://codereview.chromium.org/2468483002/diff/20001/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc File chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc (right): https://codereview.chromium.org/2468483002/diff/20001/chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc#newcode368 chrome/browser/chromeos/accessibility/accessibility_manager_browsertest.cc:368: session_manager::SessionManager::Get()->CreateSession(test_account_id_, On 2016/10/31 21:55:56, achuithb wrote: > Maybe: > ...
4 years, 1 month ago (2016-10-31 22:29:45 UTC) #14
achuithb
https://codereview.chromium.org/2468483002/diff/40001/components/session_manager/core/session_manager.h File components/session_manager/core/session_manager.h (right): https://codereview.chromium.org/2468483002/diff/40001/components/session_manager/core/session_manager.h#newcode31 components/session_manager/core/session_manager.h:31: void CreateSession(const AccountId& user_account_id, I feel like I'm being ...
4 years, 1 month ago (2016-10-31 22:41:36 UTC) #15
xiyuan
https://codereview.chromium.org/2468483002/diff/40001/components/session_manager/core/session_manager.h File components/session_manager/core/session_manager.h (right): https://codereview.chromium.org/2468483002/diff/40001/components/session_manager/core/session_manager.h#newcode31 components/session_manager/core/session_manager.h:31: void CreateSession(const AccountId& user_account_id, On 2016/10/31 22:41:36, achuithb wrote: ...
4 years, 1 month ago (2016-11-01 16:24:31 UTC) #17
achuithb
Sorry about all the back and forth - the current patch seems more archetypal in ...
4 years, 1 month ago (2016-11-01 19:41:25 UTC) #21
xiyuan
On 2016/11/01 19:41:25, achuithb wrote: > Sorry about all the back and forth - the ...
4 years, 1 month ago (2016-11-01 19:54:38 UTC) #22
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/2468483002/60001
4 years, 1 month ago (2016-11-01 19:55:16 UTC) #25
commit-bot: I haz the power
Failed to apply patch for components/session_manager/core/DEPS: While running git apply --index -3 -p1; error: repository ...
4 years, 1 month ago (2016-11-01 20:03:42 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 20:05:55 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/30e213c88354e03ea92fa04853150a9e46da077c
Cr-Commit-Position: refs/heads/master@{#429080}

Powered by Google App Engine
This is Rietveld 408576698