X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fbrowser%2Fdownload%2Fbase_file_posix.cc;h=b5d8e01442244b0f0a4fb45b60d3060618bb4786;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=4cf987c8b201c59d5256cbbdd1d60dec57ecca5e;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/browser/download/base_file_posix.cc b/src/content/browser/download/base_file_posix.cc index 4cf987c..b5d8e01 100644 --- a/src/content/browser/download/base_file_posix.cc +++ b/src/content/browser/download/base_file_posix.cc @@ -4,7 +4,7 @@ #include "content/browser/download/base_file.h" -#include "base/file_util.h" +#include "base/files/file_util.h" #include "content/public/browser/download_interrupt_reasons.h" namespace content { @@ -27,8 +27,6 @@ DownloadInterruptReason BaseFile::MoveFileAndAdjustPermissions( if (!stat_succeeded) LogSystemError("stat", errno); - // TODO(estade): Move() falls back to copying and deleting when a simple - // rename fails. Copying sucks for large downloads. crbug.com/8737 if (!base::Move(full_path_, new_path)) return LogSystemError("Move", errno);