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

Issue 11411314: Add public accounts to UserManager (Closed)

Created:
8 years ago by bartfab (slow)
Modified:
8 years ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add public accounts to UserManager This is a re-land of CL 11419184: This CL extends the UserManager to handle public accounts defined through policy. User pods are dynamically added and removed when the list of public accounts in policy changes. Any data belonging to obsolete accounts is also removed, taking care not to remove it prematurely if a user is currently logged into the account. The CL also makes the user list handling more robust by checking for duplicate entries in the user list prefs and logging these as errors. The pods added for public accounts are not functional yet. The login flow for public accounts will be the topic of another CL. BUG=158509, 163690 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170943

Patch Set 1 #

Patch Set 2 : Addressed reasons for the original revert. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -149 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 chunks +7 lines, -0 lines 1 comment Download
M chrome/browser/chromeos/login/user_manager_impl.h View 5 chunks +30 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 17 chunks +277 lines, -109 lines 4 comments Download
M chrome/browser/chromeos/login/user_manager_unittest.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc View 6 chunks +23 lines, -32 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_service.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/stub_cros_settings_provider.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 4 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
bartfab (slow)
CL 11419184 broke the tree and was reverted. This is a fixed-up CL that addresses ...
8 years ago (2012-12-03 10:39:21 UTC) #1
bartfab (slow)
Hi Julian, I would need a policy rubber-stamp for this. Nothing changed in the policy ...
8 years ago (2012-12-03 10:40:12 UTC) #2
Ivan Korotkov
lgtm https://codereview.chromium.org/11411314/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://codereview.chromium.org/11411314/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc#newcode187 chrome/browser/chromeos/login/user_manager_impl.cc:187: logged_in_user_ = NULL; Hmm, so it looks like ...
8 years ago (2012-12-03 11:04:44 UTC) #3
bartfab (slow)
https://codereview.chromium.org/11411314/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc File chrome/browser/chromeos/login/user_manager_impl.cc (right): https://codereview.chromium.org/11411314/diff/2001/chrome/browser/chromeos/login/user_manager_impl.cc#newcode187 chrome/browser/chromeos/login/user_manager_impl.cc:187: logged_in_user_ = NULL; On 2012/12/03 11:04:45, Ivan Korotkov wrote: ...
8 years ago (2012-12-03 11:34:12 UTC) #4
pastarmovj
lgtm
8 years ago (2012-12-03 11:39:03 UTC) #5
Nikita (slow)
lgtm I've executed bunch of trybots
8 years ago (2012-12-04 08:22:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/11411314/2001
8 years ago (2012-12-04 10:21:56 UTC) #7
commit-bot: I haz the power
8 years ago (2012-12-04 12:18:15 UTC) #8
Message was sent while issue was closed.
Change committed as 170943

Powered by Google App Engine
This is Rietveld 408576698