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

Issue 8128: Make sure it's possible to download to a network share.... (Closed)

Created:
12 years, 2 months ago by Nicolas Sylvain
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make sure it's possible to download to a network share. The function to move the file was failing to set the security descriptor. Now we use SHFileOperation, which has a flag to do everything we want. Eventually we might want to display ui on errors and use the ui features of SHFileOperation, but for the 1.0 build we want to stick to a smaller and less risky change. BUG: 984 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3996

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -40 lines) Patch
M base/file_util.h View 1 chunk +2 lines, -2 lines 1 comment Download
M base/file_util_win.cc View 1 chunk +15 lines, -38 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Nicolas Sylvain
12 years, 2 months ago (2008-10-23 23:15:53 UTC) #1
amit
LGTM http://codereview.chromium.org/8128/diff/1/2 File base/file_util_win.cc (right): http://codereview.chromium.org/8128/diff/1/2#newcode553 Line 553: return false; Would be nice to log ...
12 years, 2 months ago (2008-10-24 17:45:34 UTC) #2
rvargas (doing something else)
LGTM with one nit. http://codereview.chromium.org/8128/diff/1/2 File base/file_util_win.cc (right): http://codereview.chromium.org/8128/diff/1/2#newcode550 Line 550: FOF_NOCONFIRMMKDIR | FOF_NOCOPYSECURITYATTRIBS; nit: ...
12 years, 2 months ago (2008-10-24 18:00:22 UTC) #3
Paul Godavari
12 years, 2 months ago (2008-10-25 00:42:15 UTC) #4
LGTM.

http://codereview.chromium.org/8128/diff/1/3
File base/file_util.h (right):

http://codereview.chromium.org/8128/diff/1/3#newcode349
Line 349: // Renames a file using the SHFileOperation API to ensures that the
target file
'ensure'

Powered by Google App Engine
This is Rietveld 408576698