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

Issue 7066067: Support creating temporary files for sync file operations. (Closed)

Created:
9 years, 6 months ago by noelutz
Modified:
9 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, brettw-cc_chromium.org, Nirnimesh
Visibility:
Public.

Description

Support creating temporary files for sync file operations. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88884

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Sam's comments #

Total comments: 2

Patch Set 3 : Address Darin's comments. #

Patch Set 4 : Address Darin's comments. #

Patch Set 5 : bugs #

Patch Set 6 : typo #

Total comments: 2

Patch Set 7 : Address Darin's comments #

Total comments: 4

Patch Set 8 : Address Darin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -55 lines) Patch
M base/file_util_proxy.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -1 line 0 comments Download
M base/file_util_proxy.cc View 1 2 3 4 5 6 7 4 chunks +11 lines, -6 lines 0 comments Download
M content/browser/renderer_host/redirect_to_file_resource_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/common/url_fetcher.cc View 1 2 3 4 5 6 3 chunks +1 line, -48 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
noelutz
I would like to use FileUtilProxy::CreateTemporary() followed by FileUtilProxy::Write() which is currently not supported because ...
9 years, 6 months ago (2011-06-02 22:26:30 UTC) #1
Sam Kerner (Chrome)
Thanks for the cleanup. Generally, // is preferred to /* */. http://codereview.chromium.org/7066067/diff/1/content/common/url_fetcher.cc File content/common/url_fetcher.cc (right): ...
9 years, 6 months ago (2011-06-03 01:08:37 UTC) #2
Sam Kerner (Chrome)
http://codereview.chromium.org/7066067/diff/1/base/file_util_proxy.h File base/file_util_proxy.h (right): http://codereview.chromium.org/7066067/diff/1/base/file_util_proxy.h#newcode73 base/file_util_proxy.h:73: bool aync, Are there reasonable use cases for other ...
9 years, 6 months ago (2011-06-03 14:31:41 UTC) #3
noelutz
Please take another look. Thanks, noe. On 2011/06/03 14:31:41, Sam Kerner (Chrome) wrote: > http://codereview.chromium.org/7066067/diff/1/base/file_util_proxy.h ...
9 years, 6 months ago (2011-06-03 17:10:47 UTC) #4
darin (slow to review)
http://codereview.chromium.org/7066067/diff/2004/base/file_util_proxy.h File base/file_util_proxy.h (right): http://codereview.chromium.org/7066067/diff/2004/base/file_util_proxy.h#newcode73 base/file_util_proxy.h:73: bool aync, please avoid adding bool parameters like this. ...
9 years, 6 months ago (2011-06-03 17:51:45 UTC) #5
darin (slow to review)
http://codereview.chromium.org/7066067/diff/2004/content/browser/renderer_host/redirect_to_file_resource_handler.cc File content/browser/renderer_host/redirect_to_file_resource_handler.cc (right): http://codereview.chromium.org/7066067/diff/2004/content/browser/renderer_host/redirect_to_file_resource_handler.cc#newcode79 content/browser/renderer_host/redirect_to_file_resource_handler.cc:79: true, // open tmp file for async operations the ...
9 years, 6 months ago (2011-06-03 17:52:23 UTC) #6
noelutz
Thanks for your input! On Fri, Jun 3, 2011 at 10:51 AM, <darin@chromium.org> wrote: > ...
9 years, 6 months ago (2011-06-03 18:26:07 UTC) #7
darin (slow to review)
On Fri, Jun 3, 2011 at 11:25 AM, Noé Lutz <noelutz@google.com> wrote: > Thanks for ...
9 years, 6 months ago (2011-06-03 18:31:11 UTC) #8
noelutz
On Fri, Jun 3, 2011 at 11:31 AM, Darin Fisher <darin@chromium.org> wrote: > > > ...
9 years, 6 months ago (2011-06-03 18:39:01 UTC) #9
noelutz
Please take another look. Thanks, noe.
9 years, 6 months ago (2011-06-03 21:22:47 UTC) #10
darin (slow to review)
http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h File base/file_util_proxy.h (right): http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h#newcode71 base/file_util_proxy.h:71: // base::PLATFORM_FILE_CREATE_ALWAYS | i think having to specify PLATFORM_FILE_TEMPORARY ...
9 years, 6 months ago (2011-06-04 21:06:01 UTC) #11
noelutz
On 2011/06/04 21:06:01, darin wrote: > http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h > File base/file_util_proxy.h (right): > > http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h#newcode71 > ...
9 years, 6 months ago (2011-06-06 21:59:55 UTC) #12
Sam Kerner (Chrome)
http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h File base/file_util_proxy.h (right): http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h#newcode71 base/file_util_proxy.h:71: // base::PLATFORM_FILE_CREATE_ALWAYS | On 2011/06/04 21:06:01, darin wrote: > ...
9 years, 6 months ago (2011-06-06 22:19:27 UTC) #13
noelutz
On 2011/06/06 22:19:27, Sam Kerner (Chrome) wrote: > http://codereview.chromium.org/7066067/diff/3004/base/file_util_proxy.h > File base/file_util_proxy.h (right): > > ...
9 years, 6 months ago (2011-06-07 01:57:38 UTC) #14
Sam Kerner (Chrome)
On 2011/06/03 17:51:45, darin wrote: > http://codereview.chromium.org/7066067/diff/2004/base/file_util_proxy.h > File base/file_util_proxy.h (right): > > http://codereview.chromium.org/7066067/diff/2004/base/file_util_proxy.h#newcode73 > ...
9 years, 6 months ago (2011-06-08 19:03:54 UTC) #15
noelutz
ping? thanks, noé. On 2011/06/08 19:03:54, Sam Kerner (Chrome) wrote: > On 2011/06/03 17:51:45, darin ...
9 years, 6 months ago (2011-06-09 19:22:20 UTC) #16
Sam Kerner (Chrome)
LGTM. Darin's LGTM is needed because he is in base/OWNERS, and I am not. On ...
9 years, 6 months ago (2011-06-10 03:33:36 UTC) #17
darin (slow to review)
LGTM http://codereview.chromium.org/7066067/diff/5005/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/7066067/diff/5005/base/file_util_proxy.cc#newcode8 base/file_util_proxy.cc:8: #include "base/platform_file.h" this include is unnecessary. it already ...
9 years, 6 months ago (2011-06-11 07:00:37 UTC) #18
noelutz
Done. Thanks. Will send to commit bot shortly. noe. http://codereview.chromium.org/7066067/diff/5005/base/file_util_proxy.cc File base/file_util_proxy.cc (right): http://codereview.chromium.org/7066067/diff/5005/base/file_util_proxy.cc#newcode8 base/file_util_proxy.cc:8: ...
9 years, 6 months ago (2011-06-13 16:52:08 UTC) #19
commit-bot: I haz the power
Try job failure for 7066067-16003 on win for step pyauto_functional_tests: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=36584
9 years, 6 months ago (2011-06-13 18:18:09 UTC) #20
M-A Ruel
9 years, 6 months ago (2011-06-13 18:49:41 UTC) #21
M-A Ruel
On 2011/06/13 18:18:09, I haz the power (commit-bot) wrote: > Try job failure for 7066067-16003 ...
9 years, 6 months ago (2011-06-13 18:50:04 UTC) #22
commit-bot: I haz the power
9 years, 6 months ago (2011-06-13 20:29:54 UTC) #23
Change committed as 88884

Powered by Google App Engine
This is Rietveld 408576698