OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/file_util.h" | 5 #include "base/files/file_util.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <io.h> | 8 #include <io.h> |
9 #include <psapi.h> | 9 #include <psapi.h> |
10 #include <shellapi.h> | 10 #include <shellapi.h> |
11 #include <shlobj.h> | 11 #include <shlobj.h> |
12 #include <time.h> | 12 #include <time.h> |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <limits> | 15 #include <limits> |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 // Like Move, this function is not transactional, so we just | 801 // Like Move, this function is not transactional, so we just |
802 // leave the copied bits behind if deleting from_path fails. | 802 // leave the copied bits behind if deleting from_path fails. |
803 // If to_path exists previously then we have already overwritten | 803 // If to_path exists previously then we have already overwritten |
804 // it by now, we don't get better off by deleting the new bits. | 804 // it by now, we don't get better off by deleting the new bits. |
805 } | 805 } |
806 return false; | 806 return false; |
807 } | 807 } |
808 | 808 |
809 } // namespace internal | 809 } // namespace internal |
810 } // namespace base | 810 } // namespace base |
OLD | NEW |