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

Unified Diff: content/plugin/plugin_thread.h

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698