| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_PLUGIN_PLUGIN_THREAD_H_ | 5 #ifndef CHROME_PLUGIN_PLUGIN_THREAD_H_ |
| 6 #define CHROME_PLUGIN_PLUGIN_THREAD_H_ | 6 #define CHROME_PLUGIN_PLUGIN_THREAD_H_ |
| 7 | 7 |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
| 10 #include "chrome/common/child_thread.h" | 10 #include "chrome/common/child_thread.h" |
| 11 #include "chrome/plugin/plugin_channel.h" | 11 #include "chrome/plugin/plugin_channel.h" |
| 12 #include "webkit/glue/plugins/plugin_lib.h" |
| 12 | 13 |
| 13 class NotificationService; | 14 class NotificationService; |
| 14 | 15 |
| 15 // The PluginThread class represents a background thread where plugin instances | 16 // The PluginThread class represents a background thread where plugin instances |
| 16 // live. Communication occurs between WebPluginDelegateProxy in the renderer | 17 // live. Communication occurs between WebPluginDelegateProxy in the renderer |
| 17 // process and WebPluginDelegateStub in this thread through IPC messages. | 18 // process and WebPluginDelegateStub in this thread through IPC messages. |
| 18 class PluginThread : public ChildThread { | 19 class PluginThread : public ChildThread { |
| 19 public: | 20 public: |
| 20 PluginThread(); | 21 PluginThread(); |
| 21 ~PluginThread(); | 22 ~PluginThread(); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 // The plugin module which is preloaded in Init | 39 // The plugin module which is preloaded in Init |
| 39 base::NativeLibrary preloaded_plugin_module_; | 40 base::NativeLibrary preloaded_plugin_module_; |
| 40 | 41 |
| 41 // Points to the plugin file that this process hosts. | 42 // Points to the plugin file that this process hosts. |
| 42 FilePath plugin_path_; | 43 FilePath plugin_path_; |
| 43 | 44 |
| 44 DISALLOW_EVIL_CONSTRUCTORS(PluginThread); | 45 DISALLOW_EVIL_CONSTRUCTORS(PluginThread); |
| 45 }; | 46 }; |
| 46 | 47 |
| 47 #endif // CHROME_PLUGIN_PLUGIN_THREAD_H_ | 48 #endif // CHROME_PLUGIN_PLUGIN_THREAD_H_ |
| OLD | NEW |