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 "content/common/plugin_list.h" | 5 #include "content/common/plugin_list.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_util.h" | |
11 #include "base/file_version_info.h" | 10 #include "base/file_version_info.h" |
12 #include "base/file_version_info_win.h" | 11 #include "base/file_version_info_win.h" |
| 12 #include "base/files/file_util.h" |
13 #include "base/files/memory_mapped_file.h" | 13 #include "base/files/memory_mapped_file.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/strings/string_number_conversions.h" | 16 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "base/win/pe_image.h" | 20 #include "base/win/pe_image.h" |
21 #include "base/win/registry.h" | 21 #include "base/win/registry.h" |
22 #include "base/win/scoped_handle.h" | 22 #include "base/win/scoped_handle.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 return false; | 470 return false; |
471 #else | 471 #else |
472 // The plugin in question could be a 64 bit plugin which we cannot load. | 472 // The plugin in question could be a 64 bit plugin which we cannot load. |
473 if (!IsValid32BitImage(base::MakeAbsoluteFilePath(plugin_path))) | 473 if (!IsValid32BitImage(base::MakeAbsoluteFilePath(plugin_path))) |
474 return false; | 474 return false; |
475 #endif | 475 #endif |
476 return true; | 476 return true; |
477 } | 477 } |
478 | 478 |
479 } // namespace content | 479 } // namespace content |
OLD | NEW |