summaryrefslogtreecommitdiffstats
path: root/ppapi/c/private/ppb_proxy_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/private/ppb_proxy_private.h')
-rw-r--r--ppapi/c/private/ppb_proxy_private.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/ppapi/c/private/ppb_proxy_private.h b/ppapi/c/private/ppb_proxy_private.h
new file mode 100644
index 0000000..fc8341e
--- /dev/null
+++ b/ppapi/c/private/ppb_proxy_private.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
+#define PPAPI_C_PRIVATE_PROXY_PRIVATE_H_
+
+#include "ppapi/c/pp_module.h"
+
+#define PPB_PROXY_PRIVATE_INTERFACE "PPB_Proxy_Private;1"
+
+// Exposes functions needed by the out-of-process proxy to call into the
+// renderer PPAPI implementation.
+struct PPB_Proxy_Private {
+ // Called when the given plugin process has crashed.
+ void (*PluginCrashed)(PP_Module module);
+};
+
+#endif // PPAPI_C_PRIVATE_PROXY_PRIVATE_H_