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

Issue 2478173003: Lock profile before sign in when force sign in is enabled. (Closed)

Created:
4 years, 1 month ago by zmin
Modified:
4 years, 1 month ago
CC:
chrome-enterprise-changes_google.com, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Lock profile before sign in when force sign in is enabled. 1) New profile attributes of profile locking 2) Block cross account sign in and bypass confirm dialog. 3) Postpone browser window creation after sign in 4) Show error message within the sign in dialog. BUG=642059 Committed: https://crrev.com/5db87096a32b73bd2aaca04710152de495ba50ea Cr-Commit-Position: refs/heads/master@{#430699}

Patch Set 1 #

Patch Set 2 : fixup #

Total comments: 8

Patch Set 3 : anthonyvd's comments #

Total comments: 6

Patch Set 4 : rogerta's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -102 lines) Patch
M chrome/app/chromium_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_attributes_entry.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_attributes_entry.cc View 1 2 3 4 chunks +24 lines, -4 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client_unittest.cc View 1 2 6 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 3 chunks +18 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 10 chunks +88 lines, -33 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc View 1 2 4 chunks +36 lines, -40 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.cc View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (24 generated)
zmin
Hi Anthony, Roger, Can you review this CL please? Thanks, Owen
4 years, 1 month ago (2016-11-04 20:39:58 UTC) #14
zmin
cc chrome-enterprise-changes
4 years, 1 month ago (2016-11-04 20:42:54 UTC) #15
anthonyvd
Hi! Few comments/questions. https://codereview.chromium.org/2478173003/diff/60001/chrome/browser/profiles/profile_attributes_entry.cc File chrome/browser/profiles/profile_attributes_entry.cc (right): https://codereview.chromium.org/2478173003/diff/60001/chrome/browser/profiles/profile_attributes_entry.cc#newcode111 chrome/browser/profiles/profile_attributes_entry.cc:111: return ( nit: The parens aren't ...
4 years, 1 month ago (2016-11-04 21:31:03 UTC) #16
zmin
https://codereview.chromium.org/2478173003/diff/60001/chrome/browser/profiles/profile_attributes_entry.cc File chrome/browser/profiles/profile_attributes_entry.cc (right): https://codereview.chromium.org/2478173003/diff/60001/chrome/browser/profiles/profile_attributes_entry.cc#newcode111 chrome/browser/profiles/profile_attributes_entry.cc:111: return ( On 2016/11/04 21:31:02, anthonyvd wrote: > nit: ...
4 years, 1 month ago (2016-11-04 22:11:53 UTC) #17
Roger Tawa OOO till Jul 10th
lgtm with a few question below. https://codereview.chromium.org/2478173003/diff/80001/chrome/browser/profiles/profile_attributes_entry.cc File chrome/browser/profiles/profile_attributes_entry.cc (right): https://codereview.chromium.org/2478173003/diff/80001/chrome/browser/profiles/profile_attributes_entry.cc#newcode29 chrome/browser/profiles/profile_attributes_entry.cc:29: is_force_signin_enabled_ = IsForceSigninEnabled(); ...
4 years, 1 month ago (2016-11-08 15:16:11 UTC) #22
zmin
https://codereview.chromium.org/2478173003/diff/80001/chrome/browser/profiles/profile_attributes_entry.cc File chrome/browser/profiles/profile_attributes_entry.cc (right): https://codereview.chromium.org/2478173003/diff/80001/chrome/browser/profiles/profile_attributes_entry.cc#newcode29 chrome/browser/profiles/profile_attributes_entry.cc:29: is_force_signin_enabled_ = IsForceSigninEnabled(); On 2016/11/08 15:16:11, Roger Tawa wrote: ...
4 years, 1 month ago (2016-11-08 18:39:08 UTC) #23
anthonyvd
lgtm, thanks :)
4 years, 1 month ago (2016-11-08 20:08:32 UTC) #28
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/2478173003/100001
4 years, 1 month ago (2016-11-08 20:16:25 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 1 month ago (2016-11-08 20:22:03 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 20:41:35 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5db87096a32b73bd2aaca04710152de495ba50ea
Cr-Commit-Position: refs/heads/master@{#430699}

Powered by Google App Engine
This is Rietveld 408576698