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

Issue 599263002: easy-signin: Defer chrome restart until key ops finish. (Closed)

Created:
6 years, 2 months ago by xiyuan
Modified:
6 years, 2 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

easy-signin: Defer chrome restart until key ops finish. BUG=412006 Committed: https://crrev.com/cfddc3601a6d355dae66317e07654e9d0c81eff8 Cr-Commit-Position: refs/heads/master@{#296983}

Patch Set 1 #

Patch Set 2 : only defer restart #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -7 lines) Patch
M chrome/browser/chromeos/login/login_utils.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 4 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 5 chunks +37 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
xiyuan
This adds about 2 seconds when chrome restart is needed. :(
6 years, 2 months ago (2014-09-24 23:11:47 UTC) #2
Nikita (slow)
+alemate@ I think we need to take a different approach: 1. Make sure that no ...
6 years, 2 months ago (2014-09-25 07:34:27 UTC) #5
Nikita (slow)
On 2014/09/25 07:34:27, Nikita Kostylev wrote: > +alemate@ > > I think we need to ...
6 years, 2 months ago (2014-09-25 07:35:48 UTC) #6
xiyuan
On 2014/09/25 07:35:48, Nikita Kostylev wrote: > On 2014/09/25 07:34:27, Nikita Kostylev wrote: > > ...
6 years, 2 months ago (2014-09-25 15:28:18 UTC) #7
xiyuan
ping?
6 years, 2 months ago (2014-09-26 16:12:08 UTC) #8
tbarzic
lgtm
6 years, 2 months ago (2014-09-26 17:45:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/599263002/20001
6 years, 2 months ago (2014-09-26 18:19:38 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 85e37bbcddc2a1e7bb407d805e5a31794419d59b
6 years, 2 months ago (2014-09-26 18:32:03 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/cfddc3601a6d355dae66317e07654e9d0c81eff8 Cr-Commit-Position: refs/heads/master@{#296983}
6 years, 2 months ago (2014-09-26 18:32:58 UTC) #13
Nikita (slow)
On 2014/09/25 15:28:18, xiyuan wrote: > On 2014/09/25 07:35:48, Nikita Kostylev wrote: > > On ...
6 years, 2 months ago (2014-09-27 05:44:13 UTC) #14
Nikita (slow)
On 2014/09/25 15:28:18, xiyuan wrote: > On 2014/09/25 07:35:48, Nikita Kostylev wrote: > > On ...
6 years, 2 months ago (2014-09-27 05:44:14 UTC) #15
xiyuan
6 years, 2 months ago (2014-09-27 17:16:32 UTC) #16
Message was sent while issue was closed.
On 2014/09/27 05:44:14, Nikita Kostylev wrote:
> On 2014/09/25 15:28:18, xiyuan wrote:
> > On 2014/09/25 07:35:48, Nikita Kostylev wrote:
> > > On 2014/09/25 07:34:27, Nikita Kostylev wrote:
> > > > +alemate@
> > > > 
> > > > I think we need to take a different approach:
> > > > 
> > > > 1. Make sure that no operation has started when restart is needed.
> > > > After https://codereview.chromium.org/322533002 Chrome now restarts
pretty
> > > early
> > > > 
> > > > 2. Resume this operation after restart happened.
> > > 
> > > I guess that's not quite possible per issue:
> > > 
> > > >> User credentials is lost during the restart. 
> > > 
> > > Is this needed to be done just once or on each sign in when restart is
> needed?
> > 
> > The keys need to be re-created on each success sign-in. And we had to do it
> > before the restart because it needs user credentials.
> 
> Does this mean on each GAIA sign in or when password has changed?
> Or on each offline sign in?
> 

The current behavior as discussed with Will and Darren is that we do this on
every success login, including Gaia, offline and the phone based. We probably
can try to push for only do it for phone based sign-in so that we don't use the
key twice.

Powered by Google App Engine
This is Rietveld 408576698