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

Issue 2512693003: ash: Replace SessionStateDelegate::CanAddUserToMultiProfile (Closed)

Created:
4 years, 1 month ago by xiyuan
Modified:
4 years, 1 month ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Replace SessionStateDelegate::CanAddUserToMultiProfile - Introduce a AddUserSessionPolicy for possible user adding scenarios; - Replace CanAddUserToMultiProfile with GetAddUserSessionPolicy and update call sites; This makes it easier for mojo interface replacement because it only needs to cache a AddUserSessionPolicy enum then. BUG=648964 Committed: https://crrev.com/24eba8859771c02f4df1f7aea4864e67bcdf7536 Cr-Commit-Position: refs/heads/master@{#433575}

Patch Set 1 #

Total comments: 2

Patch Set 2 : for #1 #

Total comments: 4

Patch Set 3 : for #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -84 lines) Patch
M ash/common/session/session_state_delegate.h View 2 chunks +2 lines, -10 lines 0 comments Download
M ash/common/session/session_state_delegate.cc View 1 chunk +8 lines, -13 lines 0 comments Download
M ash/common/session/session_types.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M ash/common/system/user/user_view.cc View 1 2 4 chunks +32 lines, -33 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos_unittest.cc View 1 2 2 chunks +12 lines, -21 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
xiyuan
Suggested split: jamescook@: everything stevenjb@: chrome/browser/ui/ash/* estade@: ash/common/system/user/user_view.cc Thanks.
4 years, 1 month ago (2016-11-17 23:03:37 UTC) #3
Evan Stade
user_view.cc lgtm https://codereview.chromium.org/2512693003/diff/1/ash/common/system/user/user_view.cc File ash/common/system/user/user_view.cc (right): https://codereview.chromium.org/2512693003/diff/1/ash/common/system/user/user_view.cc#newcode121 ash/common/system/user/user_view.cc:121: int message_id = IDS_ASH_STATUS_TRAY_SIGN_IN_ANOTHER_ACCOUNT; nit: could you ...
4 years, 1 month ago (2016-11-17 23:18:14 UTC) #5
stevenjb
chrome/browser/ui/ash lgtm
4 years, 1 month ago (2016-11-17 23:21:58 UTC) #6
xiyuan
https://codereview.chromium.org/2512693003/diff/1/ash/common/system/user/user_view.cc File ash/common/system/user/user_view.cc (right): https://codereview.chromium.org/2512693003/diff/1/ash/common/system/user/user_view.cc#newcode121 ash/common/system/user/user_view.cc:121: int message_id = IDS_ASH_STATUS_TRAY_SIGN_IN_ANOTHER_ACCOUNT; On 2016/11/17 23:18:13, Evan Stade ...
4 years, 1 month ago (2016-11-17 23:57:46 UTC) #7
James Cook
LGTM with optional nits. I like this much better. https://codereview.chromium.org/2512693003/diff/20001/ash/common/session/session_types.h File ash/common/session/session_types.h (right): https://codereview.chromium.org/2512693003/diff/20001/ash/common/session/session_types.h#newcode21 ash/common/session/session_types.h:21: ...
4 years, 1 month ago (2016-11-18 00:24:08 UTC) #10
xiyuan
https://codereview.chromium.org/2512693003/diff/20001/ash/common/session/session_types.h File ash/common/session/session_types.h (right): https://codereview.chromium.org/2512693003/diff/20001/ash/common/session/session_types.h#newcode21 ash/common/session/session_types.h:21: ERROR_OUT_OF_USERS, On 2016/11/18 00:24:08, James Cook wrote: > optional ...
4 years, 1 month ago (2016-11-18 22:05:25 UTC) #13
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/2512693003/40001
4 years, 1 month ago (2016-11-18 22:06:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/318379)
4 years, 1 month ago (2016-11-19 02:25:24 UTC) #18
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/2512693003/40001
4 years, 1 month ago (2016-11-21 16:38:32 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-21 17:19:07 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 17:21:21 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/24eba8859771c02f4df1f7aea4864e67bcdf7536
Cr-Commit-Position: refs/heads/master@{#433575}

Powered by Google App Engine
This is Rietveld 408576698