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 "chrome/common/chrome_plugin_lib.h" | 5 #include "chrome/common/chrome_plugin_lib.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/perftimer.h" | 12 #include "base/perftimer.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "base/thread.h" | 14 #include "base/threading/thread.h" |
15 #include "base/threading/platform_thread.h" | 15 #include "base/threading/platform_thread.h" |
16 #include "chrome/common/chrome_counters.h" | 16 #include "chrome/common/chrome_counters.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/notification_service.h" | 18 #include "chrome/common/notification_service.h" |
19 #include "chrome/common/chrome_paths.h" | 19 #include "chrome/common/chrome_paths.h" |
20 #include "webkit/plugins/npapi/plugin_list.h" | 20 #include "webkit/plugins/npapi/plugin_list.h" |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 #include "base/win/registry.h" | 23 #include "base/win/registry.h" |
24 #endif | 24 #endif |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 if (initialized_) | 283 if (initialized_) |
284 CP_Shutdown(); | 284 CP_Shutdown(); |
285 | 285 |
286 #if defined(OS_WIN) | 286 #if defined(OS_WIN) |
287 if (module_) { | 287 if (module_) { |
288 FreeLibrary(module_); | 288 FreeLibrary(module_); |
289 module_ = 0; | 289 module_ = 0; |
290 } | 290 } |
291 #endif | 291 #endif |
292 } | 292 } |
OLD | NEW |