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

Issue 2863993002: cros: Defer primary user meta update until active (Closed)

Created:
3 years, 7 months ago by xiyuan
Modified:
3 years, 7 months ago
Reviewers:
afakhry, James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Defer primary user meta update until active Defer the meta/order update to ash until session state becomes active for primary user. So that ash side code could be simplified to expect having a consistent state for both primary user session and secondary user sessions. BUG=718458 Review-Url: https://codereview.chromium.org/2863993002 Cr-Commit-Position: refs/heads/master@{#470048} Committed: https://chromium.googlesource.com/chromium/src/+/4cfa57df48555a9f2f54d2f5cb78a3db29b3b187

Patch Set 1 #

Patch Set 2 : fix compile #

Patch Set 3 : fix tests #

Patch Set 4 : rebase #

Total comments: 6

Patch Set 5 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M chrome/browser/ui/ash/session_controller_client.cc View 1 2 3 4 3 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/session_controller_client_unittest.cc View 1 2 4 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
xiyuan
3 years, 7 months ago (2017-05-08 15:51:29 UTC) #14
James Cook
LGTM https://codereview.chromium.org/2863993002/diff/60001/chrome/browser/ui/ash/session_controller_client.cc File chrome/browser/ui/ash/session_controller_client.cc (right): https://codereview.chromium.org/2863993002/diff/60001/chrome/browser/ui/ash/session_controller_client.cc#newcode192 chrome/browser/ui/ash/session_controller_client.cc:192: // UserAddedToSession is not called for the primary ...
3 years, 7 months ago (2017-05-08 16:23:02 UTC) #15
xiyuan
https://codereview.chromium.org/2863993002/diff/60001/chrome/browser/ui/ash/session_controller_client.cc File chrome/browser/ui/ash/session_controller_client.cc (right): https://codereview.chromium.org/2863993002/diff/60001/chrome/browser/ui/ash/session_controller_client.cc#newcode192 chrome/browser/ui/ash/session_controller_client.cc:192: // UserAddedToSession is not called for the primary user ...
3 years, 7 months ago (2017-05-08 16:46:20 UTC) #17
James Cook
still lgtm, thanks for the info on refactor
3 years, 7 months ago (2017-05-08 17:09:47 UTC) #21
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/2863993002/80001
3 years, 7 months ago (2017-05-08 17:51:00 UTC) #23
afakhry
On 2017/05/08 17:09:47, James Cook (sheriff - slow) wrote: > still lgtm, thanks for the ...
3 years, 7 months ago (2017-05-08 17:52:42 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 18:05:11 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4cfa57df48555a9f2f54d2f5cb78...

Powered by Google App Engine
This is Rietveld 408576698