Index: content/plugin/plugin_thread.h |
=================================================================== |
--- content/plugin/plugin_thread.h (revision 212595) |
+++ content/plugin/plugin_thread.h (working copy) |
@@ -30,6 +30,10 @@ |
// Returns the one plugin thread. |
static PluginThread* current(); |
+ // Tells the plugin thread to terminate the process forcefully instead of |
+ // exiting cleanly. |
+ void SetForcefullyTerminatePluginProcess(); |
+ |
private: |
virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
@@ -45,6 +49,8 @@ |
// The plugin module which is preloaded in Init |
base::NativeLibrary preloaded_plugin_module_; |
+ bool forcefully_terminate_plugin_process_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PluginThread); |
}; |