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

Issue 231703002: Base: Make FileProxy automaticaly close the file on a worker thread. (Closed)

Created:
6 years, 8 months ago by rvargas (doing something else)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Base: Make FileProxy automaticaly close the file on a worker thread. This CL removes the restriction that callers should call Close before deleting the object if they want to make sure the file is not closed on the current thread. BUG=322664 TEST=base_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263675 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268348

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make members private #

Patch Set 3 : Fix initialization order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -11 lines) Patch
M base/files/file.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/files/file_proxy.h View 2 chunks +3 lines, -5 lines 0 comments Download
M base/files/file_proxy.cc View 1 2 2 chunks +16 lines, -6 lines 0 comments Download
M base/files/file_proxy_unittest.cc View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
rvargas (doing something else)
PTAL
6 years, 8 months ago (2014-04-10 17:37:36 UTC) #1
willchan no longer on Chromium
https://codereview.chromium.org/231703002/diff/1/base/files/file_proxy.cc File base/files/file_proxy.cc (right): https://codereview.chromium.org/231703002/diff/1/base/files/file_proxy.cc#newcode43 base/files/file_proxy.cc:43: scoped_refptr<TaskRunner> task_runner_; Can this be private? Does it need ...
6 years, 8 months ago (2014-04-10 20:27:47 UTC) #2
rvargas (doing something else)
Thanks https://codereview.chromium.org/231703002/diff/1/base/files/file_proxy.cc File base/files/file_proxy.cc (right): https://codereview.chromium.org/231703002/diff/1/base/files/file_proxy.cc#newcode43 base/files/file_proxy.cc:43: scoped_refptr<TaskRunner> task_runner_; On 2014/04/10 20:27:47, willchan wrote: > ...
6 years, 8 months ago (2014-04-10 22:03:51 UTC) #3
willchan no longer on Chromium
lgtm
6 years, 8 months ago (2014-04-10 23:07:38 UTC) #4
rvargas (doing something else)
The CQ bit was checked by rvargas@chromium.org
6 years, 8 months ago (2014-04-14 14:33:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/231703002/40001
6 years, 8 months ago (2014-04-14 14:33:21 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 16:24:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-14 16:24:29 UTC) #8
rvargas (doing something else)
The CQ bit was checked by rvargas@chromium.org
6 years, 8 months ago (2014-04-14 16:47:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/231703002/40001
6 years, 8 months ago (2014-04-14 16:47:26 UTC) #10
commit-bot: I haz the power
Change committed as 263675
6 years, 8 months ago (2014-04-14 18:32:49 UTC) #11
leviw_travelin_and_unemployed
A revert of this CL has been created in https://codereview.chromium.org/238383003/ by leviw@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-15 00:42:46 UTC) #12
rvargas (doing something else)
On 2014/04/15 00:42:46, leviw wrote: > A revert of this CL has been created in ...
6 years, 7 months ago (2014-05-05 22:13:29 UTC) #13
rvargas (doing something else)
The CQ bit was checked by rvargas@chromium.org
6 years, 7 months ago (2014-05-05 22:13:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rvargas@chromium.org/231703002/40001
6 years, 7 months ago (2014-05-05 22:15:10 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-06 00:55:39 UTC) #16
Message was sent while issue was closed.
Change committed as 268348

Powered by Google App Engine
This is Rietveld 408576698