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

Issue 8424006: Bind: Merge FileUtilProxy and FileSystemFileUtilProxy: CreateOrOpen/Close (Closed)

Created:
9 years, 1 month ago by kinuko
Modified:
9 years, 1 month ago
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, brettw-cc_chromium.org, awong, Dai Mikurube (NOT FULLTIME), tzik
Visibility:
Public.

Description

Merge FileUtilProxy and FileSystemFileUtilProxy using PostTaskAndReply: CreateOrOpen/Close Deprecating MessageProxyRelay class and getting rid of duplicated code. BUG=none TEST=test_shell_tests:\*FileSystem\* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108258

Patch Set 1 : '' #

Total comments: 5

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -138 lines) Patch
M base/file_util_proxy.h View 3 chunks +17 lines, -1 line 0 comments Download
M base/file_util_proxy.cc View 1 2 8 chunks +83 lines, -26 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.h View 2 chunks +0 lines, -18 lines 0 comments Download
M webkit/fileapi/file_system_file_util_proxy.cc View 3 chunks +0 lines, -83 lines 0 comments Download
M webkit/fileapi/file_system_operation.cc View 1 3 chunks +31 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kinuko
Hi, this is a refactoring attempt trying to: 1) replace MessageLoopRelay (which is potentially leaky ...
9 years, 1 month ago (2011-10-31 06:54:49 UTC) #1
tzik
http://codereview.chromium.org/8424006/diff/1006/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8424006/diff/1006/base/file_util_proxy.cc#newcode115 base/file_util_proxy.cc:115: FileUtilProxy::StatusCallback()); close_task_? http://codereview.chromium.org/8424006/diff/1006/webkit/fileapi/file_system_operation.cc File webkit/fileapi/file_system_operation.cc (right): http://codereview.chromium.org/8424006/diff/1006/webkit/fileapi/file_system_operation.cc#newcode79 webkit/fileapi/file_system_operation.cc:79: base::Unretained(&operation_context_)), ...
9 years, 1 month ago (2011-11-01 04:47:46 UTC) #2
willchan no longer on Chromium
Kinuko, sorry for the delay on these CLs. I'm busy moving into a new apartment. ...
9 years, 1 month ago (2011-11-01 04:56:24 UTC) #3
willchan no longer on Chromium
And I would rubberstamp an approval given by someone like ajwong or akalin if you ...
9 years, 1 month ago (2011-11-01 04:57:04 UTC) #4
kinuko
Thanks, all done. http://codereview.chromium.org/8424006/diff/1006/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8424006/diff/1006/base/file_util_proxy.cc#newcode115 base/file_util_proxy.cc:115: FileUtilProxy::StatusCallback()); On 2011/11/01 04:47:46, tzik wrote: ...
9 years, 1 month ago (2011-11-01 06:39:00 UTC) #5
kinuko
Willchan, thanks we're in no hurry. Btw if the change in base/ looks unnecessarily complicated ...
9 years, 1 month ago (2011-11-01 07:27:51 UTC) #6
willchan no longer on Chromium
LGTM http://codereview.chromium.org/8424006/diff/8001/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/8424006/diff/8001/base/file_util_proxy.cc#newcode116 base/file_util_proxy.cc:116: FileUtilProxy::StatusCallback()); Why do we use FileUtilProxy here? Shouldn't ...
9 years, 1 month ago (2011-11-01 22:57:37 UTC) #7
kinuko
Thanks! Will be submitting if I get no further comments. (I'll clean up / take ...
9 years, 1 month ago (2011-11-02 05:48:22 UTC) #8
caseq
This apparently caused caused some filesystem LayoutTests to crash on Mac: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40DEPS%20-%20chromium.org&tests=fast%2Ffilesystem%2Ffile-writer-abort-continue.html%2Cfast%2Ffilesystem%2Ffile-writer-events.html
9 years, 1 month ago (2011-11-02 11:58:53 UTC) #9
kinuko
9 years, 1 month ago (2011-11-02 12:11:24 UTC) #10
:( ok I'm reverting this.

On 2011/11/02 11:58:53, caseq wrote:
> This apparently caused caused some filesystem LayoutTests to crash on Mac:
> 
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%25...

Powered by Google App Engine
This is Rietveld 408576698