OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/plugins/npapi/plugin_list.h" | 5 #include "webkit/plugins/npapi/plugin_list.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <dlfcn.h> | 8 #include <dlfcn.h> |
9 #if defined(OS_OPENBSD) | 9 #if defined(OS_OPENBSD) |
10 #include <sys/exec_elf.h> | 10 #include <sys/exec_elf.h> |
11 #else | 11 #else |
12 #include <elf.h> | 12 #include <elf.h> |
13 #endif | 13 #endif |
14 #include <fcntl.h> | 14 #include <fcntl.h> |
15 #include <sys/stat.h> | 15 #include <sys/stat.h> |
16 #include <sys/types.h> | 16 #include <sys/types.h> |
17 #include <unistd.h> | 17 #include <unistd.h> |
18 | 18 |
19 #include "base/cpu.h" | 19 #include "base/cpu.h" |
20 #include "base/file_util.h" | 20 #include "base/file_util.h" |
21 #include "base/files/file_enumerator.h" | 21 #include "base/files/file_enumerator.h" |
22 #include "base/native_library.h" | 22 #include "base/native_library.h" |
23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
24 #include "base/posix/eintr_wrapper.h" | 24 #include "base/posix/eintr_wrapper.h" |
25 #include "base/sha1.h" | 25 #include "base/sha1.h" |
26 #include "base/string_util.h" | |
27 #include "base/stringprintf.h" | |
28 #include "base/strings/string_split.h" | 26 #include "base/strings/string_split.h" |
| 27 #include "base/strings/string_util.h" |
| 28 #include "base/strings/stringprintf.h" |
29 #include "base/strings/sys_string_conversions.h" | 29 #include "base/strings/sys_string_conversions.h" |
30 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
31 #include "build/build_config.h" | 31 #include "build/build_config.h" |
32 | 32 |
33 // These headers must be included in this order to make the declaration gods | 33 // These headers must be included in this order to make the declaration gods |
34 // happy. | 34 // happy. |
35 #include "base/third_party/nspr/prcpucfg_linux.h" | 35 #include "base/third_party/nspr/prcpucfg_linux.h" |
36 | 36 |
37 namespace webkit { | 37 namespace webkit { |
38 namespace npapi { | 38 namespace npapi { |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 | 585 |
586 // TODO(evanm): prefer the newest version of flash, etc. here? | 586 // TODO(evanm): prefer the newest version of flash, etc. here? |
587 | 587 |
588 VLOG_IF(1, PluginList::DebugPluginLoading()) << "Using " << info.path.value(); | 588 VLOG_IF(1, PluginList::DebugPluginLoading()) << "Using " << info.path.value(); |
589 | 589 |
590 return true; | 590 return true; |
591 } | 591 } |
592 | 592 |
593 } // namespace npapi | 593 } // namespace npapi |
594 } // namespace webkit | 594 } // namespace webkit |
OLD | NEW |