Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2269)

Unified Diff: chrome/plugin/plugin_thread.h

Issue 155876: Revert r21117 as it caused reliability failures.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/plugin/plugin_main.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_thread.h
===================================================================
--- chrome/plugin/plugin_thread.h (revision 21215)
+++ chrome/plugin/plugin_thread.h (working copy)
@@ -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 @@
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_;
« no previous file with comments | « chrome/plugin/plugin_main.cc ('k') | chrome/plugin/plugin_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698