1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
7 * This file contains the <code>PPB_Talk</code> interface.
14 * Extra interface for Talk.
16 interface PPB_Talk_Private
{
18 * Creates a Talk_Private resource.
20 PP_Resource Create
(PP_Instance instance
);
23 * Displays security UI.
25 * The callback will be issued with 1 as the result if the user gave
26 * permission, or 0 if the user denied.
28 * You can only have one call pending. It will return PP_OK_COMPLETIONPENDING
29 * if the request is queued, or PP_ERROR_INPROGRESS if there is already a
30 * request in progress.
32 int32_t GetPermission
(
33 [in] PP_Resource talk_resource
,
34 [in] PP_CompletionCallback
callback);