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/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
18 #include "base/win/pe_image.h" | 18 #include "base/win/pe_image.h" |
19 #include "base/win/scoped_handle.h" | 19 #include "base/win/scoped_handle.h" |
20 #include "base/string_number_conversions.h" | 20 #include "base/string_number_conversions.h" |
21 #include "base/string_util.h" | 21 #include "base/string_util.h" |
22 #include "base/thread_restrictions.h" | 22 #include "base/threading/thread_restrictions.h" |
23 #include "base/time.h" | 23 #include "base/time.h" |
24 #include "base/utf_string_conversions.h" | 24 #include "base/utf_string_conversions.h" |
25 #include "base/win/scoped_comptr.h" | 25 #include "base/win/scoped_comptr.h" |
26 #include "base/win/win_util.h" | 26 #include "base/win/win_util.h" |
27 #include "base/win/windows_version.h" | 27 #include "base/win/windows_version.h" |
28 | 28 |
29 namespace file_util { | 29 namespace file_util { |
30 | 30 |
31 namespace { | 31 namespace { |
32 | 32 |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1131 uint8 unused = *(touch + offset); | 1131 uint8 unused = *(touch + offset); |
1132 offset += step_size; | 1132 offset += step_size; |
1133 } | 1133 } |
1134 FreeLibrary(dll_module); | 1134 FreeLibrary(dll_module); |
1135 } | 1135 } |
1136 | 1136 |
1137 return true; | 1137 return true; |
1138 } | 1138 } |
1139 | 1139 |
1140 } // namespace file_util | 1140 } // namespace file_util |
OLD | NEW |