OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/file_util.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <propvarutil.h> | 8 #include <propvarutil.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 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/pe_image.h" | 17 #include "base/pe_image.h" |
18 #include "base/scoped_comptr_win.h" | 18 #include "base/scoped_comptr_win.h" |
19 #include "base/scoped_handle.h" | 19 #include "base/scoped_handle.h" |
20 #include "base/string_number_conversions.h" | 20 #include "base/string_number_conversions.h" |
21 #include "base/string_util.h" | |
22 #include "base/time.h" | 21 #include "base/time.h" |
23 #include "base/utf_string_conversions.h" | 22 #include "base/utf_string_conversions.h" |
24 #include "base/win_util.h" | 23 #include "base/win_util.h" |
25 | 24 |
26 namespace file_util { | 25 namespace file_util { |
27 | 26 |
28 namespace { | 27 namespace { |
29 | 28 |
30 const DWORD kFileShareAll = | 29 const DWORD kFileShareAll = |
31 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; | 30 FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; |
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 uint8 unused = *(touch + offset); | 1091 uint8 unused = *(touch + offset); |
1093 offset += step_size; | 1092 offset += step_size; |
1094 } | 1093 } |
1095 FreeLibrary(dll_module); | 1094 FreeLibrary(dll_module); |
1096 } | 1095 } |
1097 | 1096 |
1098 return true; | 1097 return true; |
1099 } | 1098 } |
1100 | 1099 |
1101 } // namespace file_util | 1100 } // namespace file_util |
OLD | NEW |