| 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 #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 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "content/child/child_thread.h" | 11 #include "content/child/child_thread.h" |
| 12 #include "content/child/npapi/plugin_lib.h" |
| 12 #include "content/plugin/plugin_channel.h" | 13 #include "content/plugin/plugin_channel.h" |
| 13 #include "webkit/plugins/npapi/plugin_lib.h" | |
| 14 | 14 |
| 15 #if defined(OS_POSIX) | 15 #if defined(OS_POSIX) |
| 16 #include "base/file_descriptor_posix.h" | 16 #include "base/file_descriptor_posix.h" |
| 17 #endif | 17 #endif |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 // The PluginThread class represents a background thread where plugin instances | 21 // The PluginThread class represents a background thread where plugin instances |
| 22 // live. Communication occurs between WebPluginDelegateProxy in the renderer | 22 // live. Communication occurs between WebPluginDelegateProxy in the renderer |
| 23 // process and WebPluginDelegateStub in this thread through IPC messages. | 23 // process and WebPluginDelegateStub in this thread through IPC messages. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 // The plugin module which is preloaded in Init | 45 // The plugin module which is preloaded in Init |
| 46 base::NativeLibrary preloaded_plugin_module_; | 46 base::NativeLibrary preloaded_plugin_module_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(PluginThread); | 48 DISALLOW_COPY_AND_ASSIGN(PluginThread); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace content | 51 } // namespace content |
| 52 | 52 |
| 53 #endif // CONTENT_PLUGIN_PLUGIN_THREAD_H_ | 53 #endif // CONTENT_PLUGIN_PLUGIN_THREAD_H_ |
| OLD | NEW |