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

Issue 961443003: Unload the ScopedGaiaAuthExtension asynchronously. (Closed)

Created:
5 years, 10 months ago by noms (inactive)
Modified:
5 years, 9 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unload the ScopedGaiaAuthExtension asynchronously. If we don't do this, then we have a race condition between unloading this extension, and trying to use it because we have manually navigated to it. BUG=460431 Committed: https://crrev.com/1805c4c5c4b5292cca51a54f379cde498db7238b Cr-Commit-Position: refs/heads/master@{#318140} Committed: https://crrev.com/c37009c34bc9c7921cabf5f9cfee96430511be97 Cr-Commit-Position: refs/heads/master@{#320937}

Patch Set 1 #

Total comments: 2

Patch Set 2 : xiyuan nit #

Patch Set 3 : fix bookmarks bubble test #

Total comments: 2

Patch Set 4 : add loader weak_ptr_factory #

Patch Set 5 : fix whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M chrome/browser/extensions/signin/gaia_auth_extension_loader.h View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/signin/gaia_auth_extension_loader.cc View 1 2 3 4 3 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (10 generated)
noms (inactive)
Spoilers: it's the CL we just talked about. Please take a look :)
5 years, 10 months ago (2015-02-25 20:47:24 UTC) #2
xiyuan
Would we crash on browser shutdown with a "chrome://chrome-signin/?source=0" tab open? If so, we might ...
5 years, 10 months ago (2015-02-25 21:17:30 UTC) #3
noms
https://codereview.chromium.org/961443003/diff/1/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc File chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/961443003/diff/1/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc#newcode30 chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc:30: content::BrowserThread::PostTask( On 2015/02/25 21:17:30, xiyuan wrote: > nit: Slightly ...
5 years, 10 months ago (2015-02-25 22:19:27 UTC) #5
xiyuan
slgtm Have you get a chance to verify the shutdown case (w/ browser sign-in tab ...
5 years, 10 months ago (2015-02-25 22:21:46 UTC) #6
noms (inactive)
On 2015/02/25 22:21:46, xiyuan wrote: > slgtm > > Have you get a chance to ...
5 years, 10 months ago (2015-02-25 22:22:48 UTC) #7
xiyuan
Awesome. Thank you for trying it out.
5 years, 10 months ago (2015-02-25 22:24:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/961443003/20001
5 years, 10 months ago (2015-02-25 22:38:18 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-25 23:24:38 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/1805c4c5c4b5292cca51a54f379cde498db7238b Cr-Commit-Position: refs/heads/master@{#318140}
5 years, 10 months ago (2015-02-25 23:27:14 UTC) #13
Sam McNally
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/944923007/ by sammc@chromium.org. ...
5 years, 10 months ago (2015-02-26 02:36:41 UTC) #14
noms (inactive)
+ alexei for an owner stamp on the cocoa test :)
5 years, 9 months ago (2015-03-04 23:39:49 UTC) #16
Alexei Svitkine (slow)
https://codereview.chromium.org/961443003/diff/40001/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc File chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/961443003/diff/40001/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc#newcode35 chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc:35: base::Unretained(loader))); Why is it safe to use base::Unretained() here? ...
5 years, 9 months ago (2015-03-05 16:11:38 UTC) #17
noms (inactive)
https://codereview.chromium.org/961443003/diff/40001/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc File chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc (right): https://codereview.chromium.org/961443003/diff/40001/chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc#newcode35 chrome/browser/extensions/signin/scoped_gaia_auth_extension.cc:35: base::Unretained(loader))); On 2015/03/05 16:11:38, Alexei Svitkine (slow) wrote: > ...
5 years, 9 months ago (2015-03-16 15:57:42 UTC) #18
Alexei Svitkine (slow)
lgtm
5 years, 9 months ago (2015-03-16 16:52:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/961443003/60001
5 years, 9 months ago (2015-03-16 16:58:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/961443003/80001
5 years, 9 months ago (2015-03-17 16:48:56 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-17 17:47:22 UTC) #27
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 17:47:51 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c37009c34bc9c7921cabf5f9cfee96430511be97
Cr-Commit-Position: refs/heads/master@{#320937}

Powered by Google App Engine
This is Rietveld 408576698