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

Issue 3413021: Implement users options handling in login screen. (Closed)

Created:
10 years, 3 months ago by xiyuan
Modified:
9 years, 7 months ago
CC:
chromium-reviews, nkostylev+cc_chromium.org, davemoore+watch_chromium.org, ben+cc_chromium.org, whywhat
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Implement users options handling in login screen. - Use BrowserProcess's local_state as a cache to users settings; - Update login code to use the cached users settings per chromium-os:6789 BUG=chromium-os:6789 TEST=Verify fix for chromium-os:6789. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60195

Patch Set 1 #

Total comments: 10

Patch Set 2 : for tfarina,dpolukhin,nkostylev #1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -63 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros_settings_provider_user.h View 3 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/cros_settings_provider_user.cc View 9 chunks +70 lines, -27 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 1 5 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 7 chunks +81 lines, -17 lines 3 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 chunk +1 line, -12 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
xiyuan
10 years, 3 months ago (2010-09-20 17:44:20 UTC) #1
zel
LGTM
10 years, 3 months ago (2010-09-20 20:14:06 UTC) #2
tfarina
http://codereview.chromium.org/3413021/diff/1/8 File chrome/browser/chromeos/login/user_manager.cc (right): http://codereview.chromium.org/3413021/diff/1/8#newcode222 chrome/browser/chromeos/login/user_manager.cc:222: std::string user_email = it->email(); I think you don't need ...
10 years, 3 months ago (2010-09-20 21:56:53 UTC) #3
tfarina
http://codereview.chromium.org/3413021/diff/1/6 File chrome/browser/chromeos/login/existing_user_controller.h (right): http://codereview.chromium.org/3413021/diff/1/6#newcode122 chrome/browser/chromeos/login/existing_user_controller.h:122: virtual void OnCheckWhiteListCompleted( Probably you can move |bool success| ...
10 years, 3 months ago (2010-09-20 22:00:26 UTC) #4
Dmitry Polukhin
http://codereview.chromium.org/3413021/diff/1/5 File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/3413021/diff/1/5#newcode282 chrome/browser/chromeos/login/existing_user_controller.cc:282: UTF16ToUTF8(password_), Please clear password_ as soon as you don't ...
10 years, 3 months ago (2010-09-21 06:33:29 UTC) #5
Nikita (slow)
http://codereview.chromium.org/3413021/diff/1/5 File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/3413021/diff/1/5#newcode124 chrome/browser/chromeos/login/existing_user_controller.cc:124: // TODO(xiyuan): Clean user profile whose email is not ...
10 years, 3 months ago (2010-09-21 14:06:30 UTC) #6
xiyuan
http://codereview.chromium.org/3413021/diff/1/5 File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/3413021/diff/1/5#newcode124 chrome/browser/chromeos/login/existing_user_controller.cc:124: // TODO(xiyuan): Clean user profile whose email is not ...
10 years, 3 months ago (2010-09-21 16:24:04 UTC) #7
Nikita (slow)
LGTM
10 years, 3 months ago (2010-09-22 13:45:05 UTC) #8
Nikita (slow)
I found out that this CL disabled a "feature" - changing user picture when logging ...
10 years, 1 month ago (2010-11-03 16:58:56 UTC) #9
xiyuan
http://codereview.chromium.org/3413021/diff/2002/10004 File chrome/browser/chromeos/login/existing_user_controller.cc (right): http://codereview.chromium.org/3413021/diff/2002/10004#newcode469 chrome/browser/chromeos/login/existing_user_controller.cc:469: !UserManager::Get()->IsKnownUser(username)) { On 2010/11/03 16:58:56, Nikita Kostylev wrote: > ...
10 years, 1 month ago (2010-11-03 17:34:36 UTC) #10
Nikita (slow)
10 years, 1 month ago (2010-11-03 17:42:25 UTC) #11
http://codereview.chromium.org/3413021/diff/2002/10004
File chrome/browser/chromeos/login/existing_user_controller.cc (right):

http://codereview.chromium.org/3413021/diff/2002/10004#newcode469
chrome/browser/chromeos/login/existing_user_controller.cc:469:
!UserManager::Get()->IsKnownUser(username)) {
On 2010/11/03 17:34:36, xiyuan wrote:
> On 2010/11/03 16:58:56, Nikita Kostylev wrote:
> > Was this an intentional change? It doesn't seem that this condition is
needed
> > for http://crosbug.com/6789.
> > 
> > It was a "feature" to change a user picture.
> 
> I thought it was a bug. This code path is from new user pod click. I was
annoyed
> when I was making the change and don't know it's a feature.
> 
> Please feel free to revert this. Or you want me to do it? 

There were some other reports too so it's ok to leave it as it is.
We have another way: delete user pod, login as a new user again. It wouldn't
work for owner though. But picture change will be supported at the settings >
users page.

Powered by Google App Engine
This is Rietveld 408576698