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

Issue 374853002: Providing more information on why certain users can't be added to multi-profile (Closed)

Created:
6 years, 5 months ago by Roman Sorokin (ftl)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Providing more information on why certain users can't be added to multi-profile session BUG=388279 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289304

Patch Set 1 #

Patch Set 2 : Build tests fixed #

Patch Set 3 : Rebase #

Total comments: 4

Patch Set 4 : Update after review #

Patch Set 5 : Minor fix #

Total comments: 14

Patch Set 6 : Update after review #

Patch Set 7 : Added tests. #

Total comments: 11

Patch Set 8 : Update after review and rebase #

Patch Set 9 : Fixed tests #

Patch Set 10 : Minor fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -84 lines) Patch
M ash/ash_strings.grd View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ash/session/session_state_delegate.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/user/user_view.cc View 1 2 3 4 5 2 chunks +14 lines, -3 lines 0 comments Download
M ash/test/test_session_state_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_session_state_delegate.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/chrome_user_manager.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/users/multi_profile_user_controller.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/users/multi_profile_user_controller.cc View 1 2 3 4 5 6 7 2 chunks +43 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc View 1 2 3 4 5 6 7 8 chunks +80 lines, -51 lines 0 comments Download
M chrome/browser/chromeos/profiles/profile_helper.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +124 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Roman Sorokin (ftl)
dzhioev@, please take a look.
6 years, 5 months ago (2014-07-08 10:31:30 UTC) #1
Roman Sorokin (ftl)
dzhioev@, can you please take another look
6 years, 4 months ago (2014-08-05 14:17:40 UTC) #2
dzhioev (left Google)
https://codereview.chromium.org/374853002/diff/60001/ash/session/session_state_delegate.h File ash/session/session_state_delegate.h (right): https://codereview.chromium.org/374853002/diff/60001/ash/session/session_state_delegate.h#newcode72 ash/session/session_state_delegate.h:72: }; Why do we need PrimaryUserPolicy enum, if we ...
6 years, 4 months ago (2014-08-06 12:37:39 UTC) #3
Roman Sorokin (ftl)
dzhioev@, please review https://codereview.chromium.org/374853002/diff/60001/ash/session/session_state_delegate.h File ash/session/session_state_delegate.h (right): https://codereview.chromium.org/374853002/diff/60001/ash/session/session_state_delegate.h#newcode72 ash/session/session_state_delegate.h:72: }; On 2014/08/06 12:37:39, dzhioev wrote: ...
6 years, 4 months ago (2014-08-08 09:22:00 UTC) #4
dzhioev (left Google)
On 2014/08/08 09:22:00, Roman Sorokin wrote: > dzhioev@, please review > > https://codereview.chromium.org/374853002/diff/60001/ash/session/session_state_delegate.h > File ...
6 years, 4 months ago (2014-08-08 11:01:51 UTC) #5
Roman Sorokin (ftl)
+jamescook jamescook@, please review
6 years, 4 months ago (2014-08-11 11:50:56 UTC) #6
James Cook
https://codereview.chromium.org/374853002/diff/120001/ash/system/user/user_view.cc File ash/system/user/user_view.cc (right): https://codereview.chromium.org/374853002/diff/120001/ash/system/user/user_view.cc#newcode497 ash/system/user/user_view.cc:497: bool IsMultiProfileAllowed = is_multi_profile_allowed (or just multi_profile_allowed) https://codereview.chromium.org/374853002/diff/120001/ash/system/user/user_view.cc#newcode516 ash/system/user/user_view.cc:516: ...
6 years, 4 months ago (2014-08-11 17:01:35 UTC) #7
Roman Sorokin (ftl)
please review https://codereview.chromium.org/374853002/diff/120001/ash/system/user/user_view.cc File ash/system/user/user_view.cc (right): https://codereview.chromium.org/374853002/diff/120001/ash/system/user/user_view.cc#newcode497 ash/system/user/user_view.cc:497: bool IsMultiProfileAllowed = On 2014/08/11 17:01:34, James ...
6 years, 4 months ago (2014-08-11 17:41:45 UTC) #8
James Cook
This code also needs tests, in particular for the delegate/controller changes.
6 years, 4 months ago (2014-08-11 17:52:25 UTC) #9
James Cook
(Apologies for not noting that in my previous review.)
6 years, 4 months ago (2014-08-11 17:53:04 UTC) #10
Roman Sorokin (ftl)
Added tests for SessionStateDelegateChromeos::IsMultiProfileAllowedByPrimaryUserPolicy and added checks for MultiProfileUserController::GetPrimaryUserPolicy. please review
6 years, 4 months ago (2014-08-12 18:27:01 UTC) #11
James Cook
LGTM with nits. Nice patch! https://codereview.chromium.org/374853002/diff/180001/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc File chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc (right): https://codereview.chromium.org/374853002/diff/180001/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc#newcode38 chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc:38: MultiProfileUserController::UserAllowedInSessionReason I would reorder ...
6 years, 4 months ago (2014-08-12 20:08:30 UTC) #12
Roman Sorokin (ftl)
+nkostylev@ Nikita, please review chrome/browser/chromeos/profiles/profile_helper.h https://codereview.chromium.org/374853002/diff/180001/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc File chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc (right): https://codereview.chromium.org/374853002/diff/180001/chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc#newcode38 chrome/browser/chromeos/login/users/multi_profile_user_controller_unittest.cc:38: MultiProfileUserController::UserAllowedInSessionReason On 2014/08/12 20:08:30, ...
6 years, 4 months ago (2014-08-13 09:11:52 UTC) #13
Nikita (slow)
On 2014/08/13 09:11:52, Roman Sorokin wrote: > +nkostylev@ > > Nikita, please review chrome/browser/chromeos/profiles/profile_helper.h lgtm
6 years, 4 months ago (2014-08-13 11:03:21 UTC) #14
Roman Sorokin (ftl)
The CQ bit was checked by rsorokin@chromium.org
6 years, 4 months ago (2014-08-13 13:24:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsorokin@chromium.org/374853002/220001
6 years, 4 months ago (2014-08-13 13:25:25 UTC) #16
Roman Sorokin (ftl)
The CQ bit was unchecked by rsorokin@chromium.org
6 years, 4 months ago (2014-08-13 13:52:23 UTC) #17
Roman Sorokin (ftl)
The CQ bit was checked by rsorokin@chromium.org
6 years, 4 months ago (2014-08-13 13:55:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsorokin@chromium.org/374853002/240001
6 years, 4 months ago (2014-08-13 13:56:21 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-13 15:21:57 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 16:04:10 UTC) #21
Message was sent while issue was closed.
Committed patchset #10 (240001) as 289304

Powered by Google App Engine
This is Rietveld 408576698