summaryrefslogtreecommitdiffstats
path: root/ppapi/c/private/ppb_proxy_private.h
blob: fc8341ef4dad9db161dceb3aa1b504cce6f639c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_