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

Issue 10831305: Refactors DatabaseQuotaClient using base::Callback. (Closed)

Created:
8 years, 4 months ago by nhiroki
Modified:
8 years, 4 months ago
Reviewers:
kinuko, michaeln, tzik
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Refactors DatabaseQuotaClient using base::Callback. BUG=139270 TEST=content_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152514

Patch Set 1 #

Total comments: 6

Patch Set 2 : Clean up #

Total comments: 6

Patch Set 3 : Runs the callback on the original thread. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -247 lines) Patch
M webkit/database/database_quota_client.h View 3 chunks +1 line, -36 lines 0 comments Download
M webkit/database/database_quota_client.cc View 1 2 6 chunks +104 lines, -211 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
nhiroki
8 years, 4 months ago (2012-08-14 10:09:43 UTC) #1
kinuko
lgtm, but please wait michaeln@'s comment. http://codereview.chromium.org/10831305/diff/1/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): http://codereview.chromium.org/10831305/diff/1/webkit/database/database_quota_client.cc#newcode26 webkit/database/database_quota_client.cc:26: int64 GetOriginUsageOnTargetThread( nit: ...
8 years, 4 months ago (2012-08-14 13:42:15 UTC) #2
nhiroki
Thank you for reviewing. I see. I wait for his comment. http://codereview.chromium.org/10831305/diff/1/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): ...
8 years, 4 months ago (2012-08-15 02:12:53 UTC) #3
michaeln
https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc#newcode143 webkit/database/database_quota_client.cc:143: base::Bind(&GetOriginsForTypeOnDBThread, naming nit: Maybe call the helper method GetAllOriginsOnDBThread ...
8 years, 4 months ago (2012-08-16 21:39:48 UTC) #4
michaeln
https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc#newcode198 webkit/database/database_quota_client.cc:198: base::Bind(&DidDeleteOriginData, callback)); On 2012/08/16 21:39:48, michaeln wrote: > Not ...
8 years, 4 months ago (2012-08-16 22:16:34 UTC) #5
kinuko
https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): https://chromiumcodereview.appspot.com/10831305/diff/1005/webkit/database/database_quota_client.cc#newcode198 webkit/database/database_quota_client.cc:198: base::Bind(&DidDeleteOriginData, callback)); On 2012/08/16 22:16:34, michaeln wrote: > On ...
8 years, 4 months ago (2012-08-20 06:41:38 UTC) #6
nhiroki
Thank you for reviewing. Please take another look, thanks. http://codereview.chromium.org/10831305/diff/1005/webkit/database/database_quota_client.cc File webkit/database/database_quota_client.cc (right): http://codereview.chromium.org/10831305/diff/1005/webkit/database/database_quota_client.cc#newcode143 webkit/database/database_quota_client.cc:143: ...
8 years, 4 months ago (2012-08-20 09:32:23 UTC) #7
michaeln
LGTM
8 years, 4 months ago (2012-08-20 20:03:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/10831305/11003
8 years, 4 months ago (2012-08-21 01:00:43 UTC) #9
kinuko
lgtm2
8 years, 4 months ago (2012-08-21 03:24:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/10831305/11003
8 years, 4 months ago (2012-08-21 03:26:47 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 05:40:45 UTC) #12
Change committed as 152514

Powered by Google App Engine
This is Rietveld 408576698