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 #ifndef CONTENT_PLUGIN_PLUGIN_THREAD_H_ | 5 #ifndef CONTENT_PLUGIN_PLUGIN_THREAD_H_ |
6 #define CONTENT_PLUGIN_PLUGIN_THREAD_H_ | 6 #define CONTENT_PLUGIN_PLUGIN_THREAD_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/file_path.h" | 8 #include "base/file_path.h" |
10 #include "base/native_library.h" | 9 #include "base/native_library.h" |
11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
12 #include "content/common/child_thread.h" | 11 #include "content/common/child_thread.h" |
13 #include "content/plugin/plugin_channel.h" | 12 #include "content/plugin/plugin_channel.h" |
14 #include "webkit/plugins/npapi/plugin_lib.h" | 13 #include "webkit/plugins/npapi/plugin_lib.h" |
15 | 14 |
16 #if defined(OS_POSIX) | 15 #if defined(OS_POSIX) |
17 #include "base/file_descriptor_posix.h" | 16 #include "base/file_descriptor_posix.h" |
(...skipping 22 matching lines...) Expand all Loading... |
40 void OnPluginFocusNotify(uint32 instance_id); | 39 void OnPluginFocusNotify(uint32 instance_id); |
41 #endif | 40 #endif |
42 | 41 |
43 // The plugin module which is preloaded in Init | 42 // The plugin module which is preloaded in Init |
44 base::NativeLibrary preloaded_plugin_module_; | 43 base::NativeLibrary preloaded_plugin_module_; |
45 | 44 |
46 DISALLOW_COPY_AND_ASSIGN(PluginThread); | 45 DISALLOW_COPY_AND_ASSIGN(PluginThread); |
47 }; | 46 }; |
48 | 47 |
49 #endif // CONTENT_PLUGIN_PLUGIN_THREAD_H_ | 48 #endif // CONTENT_PLUGIN_PLUGIN_THREAD_H_ |
OLD | NEW |