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

Issue 2944713003: After signin token check failed, show force reauth dialog and start window closing countdown. (Closed)

Created:
3 years, 6 months ago by zmin
Modified:
3 years, 5 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

After signin token check failed, show force reauth dialog and start window closing countdown. BUG=642059 Review-Url: https://codereview.chromium.org/2944713003 Cr-Commit-Position: refs/heads/master@{#482668} Committed: https://chromium.googlesource.com/chromium/src/+/9a740797201d02dea291dfc83c8abb01f26fbc53

Patch Set 1 #

Patch Set 2 : fixup #

Total comments: 8

Patch Set 3 : cr #

Total comments: 1

Patch Set 4 : bridge #

Patch Set 5 : rebase from master #

Total comments: 6

Patch Set 6 : cr #

Total comments: 4

Patch Set 7 : delegate #

Total comments: 2

Patch Set 8 : rename #

Patch Set 9 : move CloseDialog to ~Impl #

Total comments: 2

Patch Set 10 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -445 lines) Patch
M chrome/browser/signin/chrome_signin_client.cc View 1 2 2 chunks +33 lines, -13 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/signin/force_signin_verifier.h View 1 2 3 4 5 6 7 5 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/signin/force_signin_verifier.cc View 1 2 3 4 5 6 7 8 5 chunks +53 lines, -1 line 0 comments Download
M chrome/browser/signin/force_signin_verifier_unittest.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
A chrome/browser/ui/forced_reauthentication_dialog.h View 1 2 3 4 5 6 7 8 9 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/forced_reauthentication_dialog.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -69 lines 0 comments Download
M chrome/browser/ui/views/profiles/forced_reauthentication_dialog.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -250 lines 0 comments Download
D chrome/browser/ui/views/profiles/forced_reauthentication_dialog_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -62 lines 0 comments Download
A + chrome/browser/ui/views/profiles/forced_reauthentication_dialog_view.h View 1 2 3 4 5 6 7 8 4 chunks +36 lines, -11 lines 0 comments Download
A + chrome/browser/ui/views/profiles/forced_reauthentication_dialog_view.cc View 1 2 3 4 5 6 7 8 9 8 chunks +52 lines, -19 lines 0 comments Download
A + chrome/browser/ui/views/profiles/forced_reauthentication_dialog_view_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +11 lines, -11 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 93 (71 generated)
zmin
Hi Roger, Can you take a look this CL please? Owen
3 years, 6 months ago (2017-06-20 04:28:46 UTC) #16
Roger Tawa OOO till Jul 10th
lgtm with comments below https://codereview.chromium.org/2944713003/diff/40001/chrome/browser/signin/force_signin_verifier.cc File chrome/browser/signin/force_signin_verifier.cc (right): https://codereview.chromium.org/2944713003/diff/40001/chrome/browser/signin/force_signin_verifier.cc#newcode34 chrome/browser/signin/force_signin_verifier.cc:34: const int kWindowClosingShortDelayInSecond = 30; ...
3 years, 6 months ago (2017-06-20 14:17:52 UTC) #17
zmin
https://codereview.chromium.org/2944713003/diff/40001/chrome/browser/signin/force_signin_verifier.cc File chrome/browser/signin/force_signin_verifier.cc (right): https://codereview.chromium.org/2944713003/diff/40001/chrome/browser/signin/force_signin_verifier.cc#newcode34 chrome/browser/signin/force_signin_verifier.cc:34: const int kWindowClosingShortDelayInSecond = 30; // I On 2017/06/20 ...
3 years, 6 months ago (2017-06-20 17:40:33 UTC) #20
Roger Tawa OOO till Jul 10th
lgtm
3 years, 6 months ago (2017-06-20 18:13:34 UTC) #21
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/2944713003/60001
3 years, 6 months ago (2017-06-20 18:50:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/468846)
3 years, 6 months ago (2017-06-20 19:01:53 UTC) #27
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/2944713003/60001
3 years, 6 months ago (2017-06-20 22:13:52 UTC) #29
zmin
+sky for chrome/browser/signin/DEPS
3 years, 6 months ago (2017-06-20 22:34:37 UTC) #32
sky
https://codereview.chromium.org/2944713003/diff/60001/chrome/browser/signin/DEPS File chrome/browser/signin/DEPS (right): https://codereview.chromium.org/2944713003/diff/60001/chrome/browser/signin/DEPS#newcode7 chrome/browser/signin/DEPS:7: "+chrome/browser/ui/views/profiles/forced_reauthentication_dialog.h", In general we do not want chrome/browser code ...
3 years, 6 months ago (2017-06-21 00:29:54 UTC) #33
zmin
On 2017/06/21 00:29:54, sky wrote: > https://codereview.chromium.org/2944713003/diff/60001/chrome/browser/signin/DEPS > File chrome/browser/signin/DEPS (right): > > https://codereview.chromium.org/2944713003/diff/60001/chrome/browser/signin/DEPS#newcode7 > ...
3 years, 6 months ago (2017-06-21 00:48:09 UTC) #34
sky
On 2017/06/21 00:48:09, zmin wrote: > On 2017/06/21 00:29:54, sky wrote: > > > https://codereview.chromium.org/2944713003/diff/60001/chrome/browser/signin/DEPS ...
3 years, 6 months ago (2017-06-21 14:50:31 UTC) #35
zmin
On 2017/06/21 14:50:31, sky wrote: > On 2017/06/21 00:48:09, zmin wrote: > > On 2017/06/21 ...
3 years, 6 months ago (2017-06-21 22:36:30 UTC) #40
sky
https://codereview.chromium.org/2944713003/diff/120001/chrome/browser/ui/browser_dialogs.h File chrome/browser/ui/browser_dialogs.h (right): https://codereview.chromium.org/2944713003/diff/120001/chrome/browser/ui/browser_dialogs.h#newcode169 chrome/browser/ui/browser_dialogs.h:169: // Show/Hide the ForcedReauthenticationDialog for |profile|. Please document *all* ...
3 years, 6 months ago (2017-06-22 03:28:14 UTC) #50
zmin
https://codereview.chromium.org/2944713003/diff/120001/chrome/browser/ui/browser_dialogs.h File chrome/browser/ui/browser_dialogs.h (right): https://codereview.chromium.org/2944713003/diff/120001/chrome/browser/ui/browser_dialogs.h#newcode169 chrome/browser/ui/browser_dialogs.h:169: // Show/Hide the ForcedReauthenticationDialog for |profile|. On 2017/06/22 03:28:14, ...
3 years, 6 months ago (2017-06-22 07:34:58 UTC) #53
sky
https://codereview.chromium.org/2944713003/diff/140001/chrome/browser/signin/force_signin_verifier.cc File chrome/browser/signin/force_signin_verifier.cc (right): https://codereview.chromium.org/2944713003/diff/140001/chrome/browser/signin/force_signin_verifier.cc#newcode15 chrome/browser/signin/force_signin_verifier.cc:15: #include "ui/views/widget/widget.h" This code shouldn't use views either. Remember, ...
3 years, 6 months ago (2017-06-22 14:52:03 UTC) #56
zmin
https://codereview.chromium.org/2944713003/diff/140001/chrome/browser/signin/force_signin_verifier.cc File chrome/browser/signin/force_signin_verifier.cc (right): https://codereview.chromium.org/2944713003/diff/140001/chrome/browser/signin/force_signin_verifier.cc#newcode15 chrome/browser/signin/force_signin_verifier.cc:15: #include "ui/views/widget/widget.h" On 2017/06/22 14:52:02, sky wrote: > This ...
3 years, 6 months ago (2017-06-23 00:58:40 UTC) #71
sky
https://codereview.chromium.org/2944713003/diff/200001/chrome/browser/ui/forced_reauthentication_dialog_delegate.h File chrome/browser/ui/forced_reauthentication_dialog_delegate.h (right): https://codereview.chromium.org/2944713003/diff/200001/chrome/browser/ui/forced_reauthentication_dialog_delegate.h#newcode20 chrome/browser/ui/forced_reauthentication_dialog_delegate.h:20: class ForcedReauthenticationDialogDelegate { Much better, thanks. It isn't clear ...
3 years, 6 months ago (2017-06-23 17:06:04 UTC) #72
zmin
On 2017/06/23 17:06:04, sky wrote: > https://codereview.chromium.org/2944713003/diff/200001/chrome/browser/ui/forced_reauthentication_dialog_delegate.h > File chrome/browser/ui/forced_reauthentication_dialog_delegate.h (right): > > https://codereview.chromium.org/2944713003/diff/200001/chrome/browser/ui/forced_reauthentication_dialog_delegate.h#newcode20 > ...
3 years, 6 months ago (2017-06-25 23:37:16 UTC) #75
sky
On Sun, Jun 25, 2017 at 4:37 PM, <zmin@chromium.org> wrote: > On 2017/06/23 17:06:04, sky ...
3 years, 5 months ago (2017-06-26 16:13:13 UTC) #78
sky
LGTM https://codereview.chromium.org/2944713003/diff/240001/chrome/browser/ui/forced_reauthentication_dialog.h File chrome/browser/ui/forced_reauthentication_dialog.h (right): https://codereview.chromium.org/2944713003/diff/240001/chrome/browser/ui/forced_reauthentication_dialog.h#newcode11 chrome/browser/ui/forced_reauthentication_dialog.h:11: #include "base/memory/weak_ptr.h" This include isn't used. https://codereview.chromium.org/2944713003/diff/240001/chrome/browser/ui/forced_reauthentication_dialog.h#newcode25 chrome/browser/ui/forced_reauthentication_dialog.h:25: ...
3 years, 5 months ago (2017-06-26 22:18:21 UTC) #81
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/2944713003/260001
3 years, 5 months ago (2017-06-27 17:32:43 UTC) #90
commit-bot: I haz the power
3 years, 5 months ago (2017-06-27 17:37:32 UTC) #93
Message was sent while issue was closed.
Committed patchset #10 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/9a740797201d02dea291dfc83c8a...

Powered by Google App Engine
This is Rietveld 408576698