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

Unified Diff: webkit/plugins/npapi/plugin_utils.h

Issue 14720012: Relanding this as the previous attempt failed due to build errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | « webkit/plugins/npapi/plugin_constants_win.h ('k') | webkit/plugins/npapi/plugin_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_utils.h
===================================================================
--- webkit/plugins/npapi/plugin_utils.h (revision 200310)
+++ webkit/plugins/npapi/plugin_utils.h (working copy)
@@ -6,7 +6,6 @@
#define WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_
#include "base/string16.h"
-#include "webkit/plugins/webkit_plugins_export.h"
namespace base {
class Version;
@@ -17,12 +16,22 @@
// Parse a version string as used by a plug-in. This method is more lenient
// in accepting weird version strings than base::Version::GetFromString()
-WEBKIT_PLUGINS_EXPORT void CreateVersionFromString(
+void CreateVersionFromString(
const base::string16& version_string,
base::Version* parsed_version);
// Returns true iff NPAPI plugins are supported on the current platform.
-WEBKIT_PLUGINS_EXPORT bool NPAPIPluginsSupported();
+bool NPAPIPluginsSupported();
+
+// Tells the plugin thread to terminate the process forcefully instead of
+// exiting cleanly.
+void SetForcefullyTerminatePluginProcess(bool value);
+
+// Returns true if the plugin thread should terminate the process forcefully
+// instead of exiting cleanly.
+bool ShouldForcefullyTerminatePluginProcess();
+
+
} // namespace npapi
} // namespace webkit
« no previous file with comments | « webkit/plugins/npapi/plugin_constants_win.h ('k') | webkit/plugins/npapi/plugin_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698