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

Issue 8339012: Reimplementing FileUtilProxy using PostTaskAndReply (Closed)

Created:
9 years, 2 months ago by kinuko
Modified:
9 years, 2 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Reimplementing FileUtilProxy using PostTaskAndReply Splitted from http://codereview.chromium.org/8231004/ BUG=none TEST=existing tests should pass Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107088

Patch Set 1 #

Total comments: 8

Patch Set 2 : updated with Owned #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -409 lines) Patch
M base/file_util_proxy.cc View 1 2 14 chunks +225 lines, -409 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kinuko
Deprecating internal MessageLoopRelay in favor of MessageLoopProxy::PostTaskAndReply. Could you PTL? Thanks!
9 years, 2 months ago (2011-10-18 09:45:02 UTC) #1
akalin
On 2011/10/18 09:45:02, kinuko wrote: > Deprecating internal MessageLoopRelay in favor of > MessageLoopProxy::PostTaskAndReply. Could ...
9 years, 2 months ago (2011-10-18 19:03:05 UTC) #2
willchan no longer on Chromium
http://codereview.chromium.org/8339012/diff/1/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8339012/diff/1/base/file_util_proxy.cc#newcode54 base/file_util_proxy.cc:54: DCHECK(result); Why isn't this DCHECK done earlier, perhaps in ...
9 years, 2 months ago (2011-10-19 00:26:51 UTC) #3
kinuko
Thx, updated. http://codereview.chromium.org/8339012/diff/1/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8339012/diff/1/base/file_util_proxy.cc#newcode54 base/file_util_proxy.cc:54: DCHECK(result); On 2011/10/19 00:26:52, willchan wrote: > ...
9 years, 2 months ago (2011-10-19 08:42:04 UTC) #4
willchan no longer on Chromium
lgtm http://codereview.chromium.org/8339012/diff/6001/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8339012/diff/6001/base/file_util_proxy.cc#newcode78 base/file_util_proxy.cc:78: scoped_refptr<MessageLoopProxy> message_loop_proxy, Can you use const scoped_refptr<MessageLoopProxy>& here? ...
9 years, 2 months ago (2011-10-21 17:56:50 UTC) #5
kinuko
9 years, 2 months ago (2011-10-24 10:14:17 UTC) #6
Thanks, will be submitting..

http://codereview.chromium.org/8339012/diff/6001/base/file_util_proxy.cc
File base/file_util_proxy.cc (right):

http://codereview.chromium.org/8339012/diff/6001/base/file_util_proxy.cc#newc...
base/file_util_proxy.cc:78: scoped_refptr<MessageLoopProxy> message_loop_proxy,
On 2011/10/21 17:56:51, willchan wrote:
> Can you use const scoped_refptr<MessageLoopProxy>& here? Generally I don't
> advocate using that, but here it's internal and it'll save extra
> AddRef()/Release() pairs. Usually I don't nit on the extra AddRef()/Release()
> pairs, but this code is low-level enough that maybe it matters.

Done.

Powered by Google App Engine
This is Rietveld 408576698