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

Issue 317773003: Ensure OAuth2TokenServiceRequest::Core is destroyed on owner thread. (Closed)

Created:
6 years, 6 months ago by maniscalco
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Ensure OAuth2TokenServiceRequest::Core is destroyed on owner thread. This change fixes a long standing race condition where Core could be destroyed on either the owner thread or the task runner thread. See related discussion in https://codereview.chromium.org/12647008/ BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275263

Patch Set 1 #

Patch Set 2 : Run loop in TearDown to ensure core is freed before unit test terminates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M google_apis/gaia/oauth2_token_service_request.cc View 3 chunks +14 lines, -2 lines 0 comments Download
M google_apis/gaia/oauth2_token_service_request_unittest.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
maniscalco
This patch is meant to address the bug blundell pointed out in https://codereview.chromium.org/299943003/. blundell, I ...
6 years, 6 months ago (2014-06-04 18:29:53 UTC) #1
Roger Tawa OOO till Jul 10th
lgtm
6 years, 6 months ago (2014-06-04 18:54:18 UTC) #2
blundell
lgtm The more that I look at this code, the odder I find it :). ...
6 years, 6 months ago (2014-06-05 09:08:57 UTC) #3
maniscalco
On 2014/06/05 09:08:57, blundell wrote: > lgtm > > The more that I look at ...
6 years, 6 months ago (2014-06-05 15:58:09 UTC) #4
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 6 months ago (2014-06-05 15:58:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/317773003/20001
6 years, 6 months ago (2014-06-05 15:59:12 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 22:38:17 UTC) #7
Message was sent while issue was closed.
Change committed as 275263

Powered by Google App Engine
This is Rietveld 408576698