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 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed)

Created:
9 years ago by Ivan Korotkov
Modified:
9 years ago
CC:
chromium-reviews, arv (Not doing code reviews), stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

[cros] Display emails of users are stored in a separate dictionary in Local State. *) In Javascript, 'username' means canonical email and 'email' means displayed email. *) In C++, both 'email' and 'username' refer to the canonical email (because it is used in all cases except passing to JS); 'display email' refers to the raw email as entered by user. BUG=chromium-os:11328 TEST=Manual: after adding a user with dot in the email, dot should be preserved on the login screen, in Preferences, in the 'report bug' page, in the whitelist. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113207

Patch Set 1 #

Patch Set 2 : Logging cleanup #

Total comments: 14

Patch Set 3 : Review fixes. #

Total comments: 33

Patch Set 4 : Merge #

Patch Set 5 : Review fixes #1 #

Patch Set 6 : Review fixes #2 #

Patch Set 7 : User pref listener for user whitelist. #

Patch Set 8 : Merge #

Patch Set 9 : Display email cleared on a whitelist fail or password change. #

Patch Set 10 : Reupload #

Patch Set 11 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -215 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_display.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/login_performer.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 10 chunks +20 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/chromeos/login/remove_user_delegate.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/user.h View 1 2 3 4 5 3 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/user.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 3 4 5 6 7 11 chunks +43 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/display_manager.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_account_picker.js View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/user_pod_row.js View 7 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/resources/options/chromeos/accounts_options.js View 1 2 3 4 5 6 8 chunks +21 lines, -19 lines 0 comments Download
M chrome/browser/resources/options/chromeos/accounts_user_list.js View 1 2 3 4 5 6 6 chunks +32 lines, -50 lines 0 comments Download
M chrome/browser/resources/options/chromeos/accounts_user_name_edit.js View 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/resources/options/chromeos/change_picture_options.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/personal_options.js View 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/bug_report_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 2 3 4 4 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc View 1 2 3 4 5 6 4 chunks +38 lines, -30 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 4 5 6 2 chunks +26 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/options/personal_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Ivan Korotkov
PTAL jhawkins: options/ Javascript nkostylev/whywhat: UserManager-related stuff
9 years ago (2011-12-02 18:04:00 UTC) #1
James Hawkins
http://codereview.chromium.org/8773046/diff/1001/chrome/browser/resources/options/chromeos/accounts_options.js File chrome/browser/resources/options/chromeos/accounts_options.js (right): http://codereview.chromium.org/8773046/diff/1001/chrome/browser/resources/options/chromeos/accounts_options.js#newcode6 chrome/browser/resources/options/chromeos/accounts_options.js:6: Remove blank line while you're here. http://codereview.chromium.org/8773046/diff/1001/chrome/browser/resources/options/chromeos/accounts_options.js#newcode43 chrome/browser/resources/options/chromeos/accounts_options.js:43: this.allowWhitelist_ ...
9 years ago (2011-12-02 18:12:01 UTC) #2
Ivan Korotkov
http://codereview.chromium.org/8773046/diff/1001/chrome/browser/resources/options/chromeos/accounts_options.js File chrome/browser/resources/options/chromeos/accounts_options.js (right): http://codereview.chromium.org/8773046/diff/1001/chrome/browser/resources/options/chromeos/accounts_options.js#newcode6 chrome/browser/resources/options/chromeos/accounts_options.js:6: On 2011/12/02 18:12:01, James Hawkins wrote: > Remove blank ...
9 years ago (2011-12-02 18:30:30 UTC) #3
James Hawkins
resources and webui lgtm with nit. http://codereview.chromium.org/8773046/diff/4002/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc File chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc (right): http://codereview.chromium.org/8773046/diff/4002/chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc#newcode160 chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc:160: bool AccountsOptionsHandler::IsLoggedInOwner(const std::string& ...
9 years ago (2011-12-02 19:52:30 UTC) #4
whywhat
LGTM Please, file a cleanup bug to use username/email in C++ code consistently http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chromeos/login/login_utils_browsertest.cc File ...
9 years ago (2011-12-05 12:14:49 UTC) #5
Nikita (slow)
http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chrome_browser_main.cc#newcode542 chrome/browser/chrome_browser_main.cc:542: // We did not log in (we crashed or ...
9 years ago (2011-12-05 13:13:04 UTC) #6
Nikita (slow)
http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chromeos/login/existing_user_controller.h File chrome/browser/chromeos/login/existing_user_controller.h (right): http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chromeos/login/existing_user_controller.h#newcode207 chrome/browser/chromeos/login/existing_user_controller.h:207: std::string next_login_display_email_; On 2011/12/05 13:13:04, Nikita Kostylev wrote: > ...
9 years ago (2011-12-05 13:14:15 UTC) #7
Ivan Korotkov
http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chrome_browser_main.cc#newcode542 chrome/browser/chrome_browser_main.cc:542: // We did not log in (we crashed or ...
9 years ago (2011-12-05 14:12:47 UTC) #8
Nikita (slow)
lgtm http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chromeos/login/existing_user_controller.h File chrome/browser/chromeos/login/existing_user_controller.h (right): http://codereview.chromium.org/8773046/diff/4002/chrome/browser/chromeos/login/existing_user_controller.h#newcode207 chrome/browser/chromeos/login/existing_user_controller.h:207: std::string next_login_display_email_; On 2011/12/05 14:12:48, Ivan Korotkov wrote: ...
9 years ago (2011-12-05 17:55:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/8773046/24002
9 years ago (2011-12-06 15:21:25 UTC) #10
commit-bot: I haz the power
Can't process patch for file chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc. File's status is None, patchset upload is incomplete.
9 years ago (2011-12-06 15:21:27 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-06 15:24:53 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698