15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) */
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* Exposes functions needed by the out-of-process proxy to call into the
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * renderer PPAPI implementation.
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) */
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)interface PPB_Proxy_Private_0_2 {
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  /* Called when the given plugin process has crashed. */
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  void PluginCrashed(
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      [in] PP_Module module);
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  /* Returns the instance for the given resource, or 0 on failure. */
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)  PP_Instance GetInstanceForResource(
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)      [in] PP_Resource resource);
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)};
18