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

Issue 11312124: Send a notification when the signed-in user is about to sign out. (Closed)

Created:
8 years, 1 month ago by Chen Yu
Modified:
8 years, 1 month ago
CC:
chromium-reviews, stuartmorgan
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Send a notification when the signed-in user is about to sign out. This notification gives features that rely on authentication the chance to do some best-effort clean up before the token is cleared. This change will be used in chrome-to-mobile; upon the reception of this notification, chrome-to-mobile receiving service will send request to fetch oauth2 access token using the oauth2 refresh token maintained by TokenService to do server side clean up before the oauth2 refresh token is deleted when the signed-in user signs out. BUG=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168275

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/signin/signin_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Chen Yu
Starting with stuartmorgan for initial look. Thanks!
8 years, 1 month ago (2012-11-07 21:11:48 UTC) #1
stuartmorgan
No need to run new code by me, just upstreaming of existing code. One comment ...
8 years, 1 month ago (2012-11-08 12:16:33 UTC) #2
Chen Yu
Thanks! cl description updated.
8 years, 1 month ago (2012-11-08 12:55:50 UTC) #3
Andrew T Wilson (Slow)
https://codereview.chromium.org/11312124/diff/2001/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (right): https://codereview.chromium.org/11312124/diff/2001/chrome/browser/signin/signin_manager.cc#newcode367 chrome/browser/signin/signin_manager.cc:367: content::Details<const GoogleServiceSignoutDetails>(&details)); I'm not a huge fan of having ...
8 years, 1 month ago (2012-11-08 13:43:54 UTC) #4
Chen Yu
Yes, I agreed it will be problematic if we change TokenService to invalidate its oauth ...
8 years, 1 month ago (2012-11-08 15:31:01 UTC) #5
qsr
I really don't think waiting when signing out is a good idea, especially when waiting ...
8 years, 1 month ago (2012-11-08 15:32:57 UTC) #6
Andrew T Wilson (Slow)
On 2012/11/08 15:32:57, qsr wrote: > I really don't think waiting when signing out is ...
8 years, 1 month ago (2012-11-08 15:34:51 UTC) #7
Chen Yu
On 2012/11/08 15:32:57, qsr wrote: > I really don't think waiting when signing out is ...
8 years, 1 month ago (2012-11-08 15:35:36 UTC) #8
Andrew T Wilson (Slow)
On 2012/11/08 15:35:36, Chen Yu wrote: > Sorry if this question is silly: we do ...
8 years, 1 month ago (2012-11-08 15:50:19 UTC) #9
Chen Yu
On 2012/11/08 15:50:19, Andrew T Wilson wrote: > On 2012/11/08 15:35:36, Chen Yu wrote: > ...
8 years, 1 month ago (2012-11-08 16:03:28 UTC) #10
Roger Tawa OOO till Jul 10th
lgtm
8 years, 1 month ago (2012-11-08 16:04:28 UTC) #11
Andrew T Wilson (Slow)
LGTM. I would recommend that you update http://crbug.com/152536 to note what chrome2mobile is doing with ...
8 years, 1 month ago (2012-11-09 07:33:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chenyu@chromium.org/11312124/8001
8 years, 1 month ago (2012-11-13 14:39:54 UTC) #13
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 1 month ago (2012-11-13 17:42:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chenyu@chromium.org/11312124/8001
8 years, 1 month ago (2012-11-14 06:54:05 UTC) #15
commit-bot: I haz the power
8 years, 1 month ago (2012-11-16 20:19:15 UTC) #16
Change committed as 168275

Powered by Google App Engine
This is Rietveld 408576698