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

Issue 9456036: Work around CancelableCompletionCallback threading restrictions. (Closed)

Created:
8 years, 10 months ago by michaeln
Modified:
8 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Work around CancelableCompletionCallback threading restrictions. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=124020

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M webkit/appcache/appcache_quota_client.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M webkit/appcache/appcache_quota_client.cc View 1 2 3 5 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
michaeln
let's see what the trybots think
8 years, 10 months ago (2012-02-24 03:45:27 UTC) #1
mnaganov (inactive)
LGTM. This fixes the problem! Thanks for reacting quickly!
8 years, 10 months ago (2012-02-24 09:51:54 UTC) #2
michaeln
hi will, ptal at this small change, see the email thread below for details. ---------- ...
8 years, 10 months ago (2012-02-24 19:49:04 UTC) #3
willchan no longer on Chromium
+akalin, +darin in case they have opinions too. I think this is minor enough that ...
8 years, 10 months ago (2012-02-24 20:05:59 UTC) #4
michaeln
Updated to work around the restrictions using a scoped_ptr<> data member. I don't care too ...
8 years, 10 months ago (2012-02-27 20:16:47 UTC) #5
mnaganov (inactive)
Provisional LGTM, if it doesn't crash at exit due to a check in WeakPtrFactory. http://codereview.chromium.org/9456036/diff/18001/webkit/appcache/appcache_quota_client.h ...
8 years, 10 months ago (2012-02-27 22:02:10 UTC) #6
michaeln
http://codereview.chromium.org/9456036/diff/18001/webkit/appcache/appcache_quota_client.h File webkit/appcache/appcache_quota_client.h (right): http://codereview.chromium.org/9456036/diff/18001/webkit/appcache/appcache_quota_client.h#newcode82 webkit/appcache/appcache_quota_client.h:82: scoped_ptr<net::CancelableCompletionCallback> service_delete_callback_; On 2012/02/27 22:02:10, Mikhail Naganov (Chromium) wrote: ...
8 years, 10 months ago (2012-02-27 22:54:15 UTC) #7
mnaganov (inactive)
On 2012/02/27 22:54:15, michaeln wrote: > http://codereview.chromium.org/9456036/diff/18001/webkit/appcache/appcache_quota_client.h > File webkit/appcache/appcache_quota_client.h (right): > > http://codereview.chromium.org/9456036/diff/18001/webkit/appcache/appcache_quota_client.h#newcode82 > ...
8 years, 9 months ago (2012-02-28 09:55:58 UTC) #8
michaeln
8 years, 9 months ago (2012-02-28 19:42:13 UTC) #9
Thnx for verifying it works for you. I'll commit it very soon. I had left it
open for comments, but none others seem to be forth coming :)

> Yes, with this patch all works well. When are you planning to commit it?

Powered by Google App Engine
This is Rietveld 408576698