| 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 "webkit/glue/plugins/plugin_list.h" | 5 #include "webkit/glue/plugins/plugin_list.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/string_split.h" | 12 #include "base/string_split.h" |
| 13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
| 14 #include "base/sys_string_conversions.h" | 14 #include "base/sys_string_conversions.h" |
| 15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
| 17 #include "net/base/mime_util.h" | 17 #include "net/base/mime_util.h" |
| 18 #include "webkit/glue/plugins/plugin_constants_win.h" | 18 #include "webkit/glue/plugins/plugin_constants_win.h" |
| 19 #include "webkit/glue/plugins/plugin_lib.h" | 19 #include "webkit/glue/plugins/plugin_lib.h" |
| 20 #include "webkit/glue/plugins/plugin_switches.h" | |
| 21 #include "webkit/glue/webkit_glue.h" | 20 #include "webkit/glue/webkit_glue.h" |
| 21 #include "webkit/plugins/plugin_switches.h" |
| 22 | 22 |
| 23 #if defined(OS_POSIX) | 23 #if defined(OS_POSIX) |
| 24 #include "base/stl_util-inl.h" | 24 #include "base/stl_util-inl.h" |
| 25 #include "base/third_party/valgrind/valgrind.h" | 25 #include "base/third_party/valgrind/valgrind.h" |
| 26 #endif // defined(OS_POSIX) | 26 #endif // defined(OS_POSIX) |
| 27 | 27 |
| 28 namespace NPAPI { | 28 namespace NPAPI { |
| 29 | 29 |
| 30 #if defined(OS_MACOSX) | 30 #if defined(OS_MACOSX) |
| 31 // Plugin Groups for Mac. | 31 // Plugin Groups for Mac. |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 // memory tree green. | 771 // memory tree green. |
| 772 #if defined(OS_POSIX) | 772 #if defined(OS_POSIX) |
| 773 if (RUNNING_ON_VALGRIND) { | 773 if (RUNNING_ON_VALGRIND) { |
| 774 STLDeleteContainerPairSecondPointers(plugin_groups_.begin(), | 774 STLDeleteContainerPairSecondPointers(plugin_groups_.begin(), |
| 775 plugin_groups_.end()); | 775 plugin_groups_.end()); |
| 776 } | 776 } |
| 777 #endif | 777 #endif |
| 778 } | 778 } |
| 779 | 779 |
| 780 } // namespace NPAPI | 780 } // namespace NPAPI |
| OLD | NEW |