summaryrefslogtreecommitdiffstats
path: root/ppapi/native_client/src/trusted/plugin/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/native_client/src/trusted/plugin/plugin.h')
-rw-r--r--ppapi/native_client/src/trusted/plugin/plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index 253cfd5..ce6df11 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -418,6 +418,12 @@ class Plugin : public pp::InstancePrivate {
// Shuts down the proxy for PPAPI nexes.
void ShutdownProxy(); // Nexe shutdown + proxy deletion.
+ // Copy the main service runtime's most recent NaClLog output to the
+ // JavaScript console. Valid to use only after a crash, e.g., via a
+ // detail level LOG_FATAL NaClLog entry. If the crash was not due
+ // to a LOG_FATAL this method will do nothing.
+ void CopyCrashLogToJsConsole();
+
ScriptablePlugin* scriptable_plugin_;
int argc_;