diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 21:06:23 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 21:06:23 +0000 |
commit | 421d1cd06fb54c660e0f251df5a0d6403a214670 (patch) | |
tree | 174505a79267a4ac711bb20f4730f8c8f65f81ad /chrome/plugin/plugin_thread.h | |
parent | 830853df6093d39820366da09a18296097335d56 (diff) | |
download | chromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.zip chromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.tar.gz chromium_src-421d1cd06fb54c660e0f251df5a0d6403a214670.tar.bz2 |
Revert r21117 as it caused reliability failures.
Also included in this revert: r21165, r21180, and a couple valgrind suppression edits
TBR=huanr
Review URL: http://codereview.chromium.org/155876
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21216 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_thread.h')
-rw-r--r-- | chrome/plugin/plugin_thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/plugin/plugin_thread.h b/chrome/plugin/plugin_thread.h index 2e9803c..e9074aa 100644 --- a/chrome/plugin/plugin_thread.h +++ b/chrome/plugin/plugin_thread.h @@ -16,6 +16,8 @@ #include "base/file_descriptor_posix.h" #endif +class NotificationService; + // The PluginThread class represents a background thread where plugin instances // live. Communication occurs between WebPluginDelegateProxy in the renderer // process and WebPluginDelegateStub in this thread through IPC messages. @@ -30,12 +32,18 @@ class PluginThread : public ChildThread { private: virtual void OnControlMessageReceived(const IPC::Message& msg); + // Thread implementation: + virtual void Init(); + virtual void CleanUp(); + // Callback for when a channel has been created. void OnCreateChannel( int process_id, bool off_the_record); void OnPluginMessage(const std::vector<uint8> &data); + scoped_ptr<NotificationService> notification_service_; + // The plugin module which is preloaded in Init base::NativeLibrary preloaded_plugin_module_; |