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

Issue 1220843003: Perform online reauth when password is changed for a locked profile. (Closed)

Created:
5 years, 5 months ago by Roger Tawa OOO till Jul 10th
Modified:
5 years, 5 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Perform online reauth when password is changed for a locked profile. BUG=472596 Committed: https://crrev.com/ce8820ca9f57406653a5983b0cd5bf4e5a60d390 Cr-Commit-Position: refs/heads/master@{#340411}

Patch Set 1 : polish #

Total comments: 12

Patch Set 2 : whitespace #

Patch Set 3 : rebased #

Patch Set 4 : Address review comments, mac bot #

Patch Set 5 : rebased #

Patch Set 6 : Address review comments #

Patch Set 7 : rebased #

Total comments: 31

Patch Set 8 : Address review comments #

Total comments: 15

Patch Set 9 : Address review comments #

Total comments: 4

Patch Set 10 : Use DialogDelegateView #

Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -153 lines) Patch
M chrome/browser/profiles/profile_window.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_promo.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_promo.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/user_manager.h View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 5 6 7 8 9 5 chunks +152 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 1 2 3 4 5 6 7 2 chunks +45 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +120 lines, -35 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.h View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 6 7 8 8 chunks +30 lines, -107 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gaia/gaia_urls.h View 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
Roger Tawa OOO till Jul 10th
Hi Brian, Please take a look. Mac is not yet implemented, and that will be ...
5 years, 5 months ago (2015-07-17 21:14:55 UTC) #8
bcwhite
https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/signin/signin_promo.h File chrome/browser/signin/signin_promo.h (right): https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/signin/signin_promo.h#newcode66 chrome/browser/signin/signin_promo.h:66: GURL GetReauthURL(size_t profile_index, const std::string& email); These two methods ...
5 years, 5 months ago (2015-07-21 13:28:39 UTC) #9
Roger Tawa OOO till Jul 10th
Thanks Brian. PTAL. https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/signin/signin_promo.h File chrome/browser/signin/signin_promo.h (right): https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/signin/signin_promo.h#newcode66 chrome/browser/signin/signin_promo.h:66: GURL GetReauthURL(size_t profile_index, const std::string& email); ...
5 years, 5 months ago (2015-07-22 00:12:33 UTC) #10
bcwhite
https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/ui/views/profiles/user_manager_view.cc File chrome/browser/ui/views/profiles/user_manager_view.cc (right): https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/ui/views/profiles/user_manager_view.cc#newcode191 chrome/browser/ui/views/profiles/user_manager_view.cc:191: if (content_set.size() > 0) On 2015/07/22 00:12:32, Roger Tawa ...
5 years, 5 months ago (2015-07-22 13:42:21 UTC) #11
Roger Tawa OOO till Jul 10th
Thanks Brian, PTAL. https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/ui/views/profiles/user_manager_view.cc File chrome/browser/ui/views/profiles/user_manager_view.cc (right): https://codereview.chromium.org/1220843003/diff/120001/chrome/browser/ui/views/profiles/user_manager_view.cc#newcode191 chrome/browser/ui/views/profiles/user_manager_view.cc:191: if (content_set.size() > 0) On 2015/07/22 ...
5 years, 5 months ago (2015-07-22 15:29:54 UTC) #12
bcwhite
lgtm
5 years, 5 months ago (2015-07-22 19:18:33 UTC) #13
Roger Tawa OOO till Jul 10th
Hi Alexei, Scott, Can you please do owner review? Alexei: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm Scott: chrome/browser/ui/user_manager.h chrome/browser/ui/views/profiles/user_manager_view.cc Thanks.
5 years, 5 months ago (2015-07-23 16:03:22 UTC) #15
sky
https://codereview.chromium.org/1220843003/diff/240001/chrome/browser/ui/user_manager.h File chrome/browser/ui/user_manager.h (right): https://codereview.chromium.org/1220843003/diff/240001/chrome/browser/ui/user_manager.h#newcode41 chrome/browser/ui/user_manager.h:41: size_t profile_index); Is it common to pass around an ...
5 years, 5 months ago (2015-07-23 16:56:04 UTC) #17
Alexei Svitkine (slow)
https://codereview.chromium.org/1220843003/diff/240001/chrome/browser/signin/signin_promo.cc File chrome/browser/signin/signin_promo.cc (right): https://codereview.chromium.org/1220843003/diff/240001/chrome/browser/signin/signin_promo.cc#newcode209 chrome/browser/signin/signin_promo.cc:209: if (profile_index != std::string::npos) Nit: {}'s https://codereview.chromium.org/1220843003/diff/240001/chrome/browser/ui/user_manager.h File chrome/browser/ui/user_manager.h ...
5 years, 5 months ago (2015-07-23 21:49:34 UTC) #18
berendjanwever
I have no idea what this is about: did you intend to add sky@chromium.org, rather ...
5 years, 5 months ago (2015-07-23 22:45:42 UTC) #19
Roger Tawa OOO till Jul 10th
Thanks guys. Brian: I re-implemented without profile index as we discussed, please take another look. ...
5 years, 5 months ago (2015-07-24 16:15:13 UTC) #21
Alexei Svitkine (slow)
lgtm % remaining comments https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/profiles/profile_window.cc#newcode249 chrome/browser/profiles/profile_window.cc:249: const base::string16& profile_email = base::UTF8ToUTF16(email); ...
5 years, 5 months ago (2015-07-24 16:36:42 UTC) #22
Roger Tawa OOO till Jul 10th
Thanks Alexei. https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/profiles/profile_window.cc#newcode249 chrome/browser/profiles/profile_window.cc:249: const base::string16& profile_email = base::UTF8ToUTF16(email); On 2015/07/24 ...
5 years, 5 months ago (2015-07-24 17:01:29 UTC) #23
Alexei Svitkine (slow)
https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc File chrome/browser/ui/webui/signin/user_manager_screen_handler.cc (right): https://codereview.chromium.org/1220843003/diff/280001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode455 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:455: base::UTF16ToUTF8(email_address_)); On 2015/07/24 17:01:29, Roger Tawa wrote: > On ...
5 years, 5 months ago (2015-07-24 17:09:08 UTC) #24
bcwhite
lgtm
5 years, 5 months ago (2015-07-24 17:53:39 UTC) #25
sky
Glad to see the index gone! https://codereview.chromium.org/1220843003/diff/300001/chrome/browser/ui/views/profiles/user_manager_view.cc File chrome/browser/ui/views/profiles/user_manager_view.cc (right): https://codereview.chromium.org/1220843003/diff/300001/chrome/browser/ui/views/profiles/user_manager_view.cc#newcode59 chrome/browser/ui/views/profiles/user_manager_view.cc:59: class ReauthDelegate : ...
5 years, 5 months ago (2015-07-24 20:24:03 UTC) #27
Roger Tawa OOO till Jul 10th
Thanks Scott. PTAL. https://codereview.chromium.org/1220843003/diff/300001/chrome/browser/ui/views/profiles/user_manager_view.cc File chrome/browser/ui/views/profiles/user_manager_view.cc (right): https://codereview.chromium.org/1220843003/diff/300001/chrome/browser/ui/views/profiles/user_manager_view.cc#newcode59 chrome/browser/ui/views/profiles/user_manager_view.cc:59: class ReauthDelegate : public views::DialogDelegate, On ...
5 years, 5 months ago (2015-07-24 21:18:13 UTC) #28
sky
LGTM
5 years, 5 months ago (2015-07-24 21:43:34 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220843003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1220843003/320001
5 years, 5 months ago (2015-07-25 13:56:19 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:320001)
5 years, 5 months ago (2015-07-25 14:47:41 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-07-25 14:48:30 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ce8820ca9f57406653a5983b0cd5bf4e5a60d390
Cr-Commit-Position: refs/heads/master@{#340411}

Powered by Google App Engine
This is Rietveld 408576698