|
Track whether a given user session has completed initialization
Start tracking user session initialization in local state and use
that flag to determine whether to force a policy load instead of relying
on the oauth token status. This is important because forcing a policy load
when it's not strictly required can lock users out of their accounts.
This flag is not persisted across restarts of ephemeral sessions (including crash-induced restarts) so policy code will force a policy reload after a crash (identical to previous ephemeral behavior, so no behavior change from this CL)
BUG= 684031
Review-Url: https://codereview.chromium.org/2711113003
Cr-Commit-Position: refs/heads/master@{#455727}
Committed: https://chromium.googlesource.com/chromium/src/+/d5a7eabf41ff530632d5cd18b7136b52bbdc5f20
Total comments: 25
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+159 lines, -12 lines) |
Patch |
|
M |
chrome/browser/chromeos/login/screens/user_selection_screen.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/user_manager_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_browsertest.cc
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/fake_user_manager.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/fake_user_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/known_user.h
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
components/user_manager/known_user.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/user.h
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/user_manager.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/user_manager_base.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
components/user_manager/user_manager_base.cc
|
View
|
1
2
3
4
|
4 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
components/user_manager/user_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 40 (23 generated)
|