| OLD | NEW |
| (Empty) | |
| 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. |
| 4 */ |
| 5 |
| 6 /** |
| 7 * This file contains the <code>PPB_Talk</code> interface. |
| 8 */ |
| 9 label Chrome { |
| 10 M19 = 1.0 |
| 11 }; |
| 12 |
| 13 /** |
| 14 * Extra interface for Talk. |
| 15 */ |
| 16 interface PPB_Talk_Private { |
| 17 /** |
| 18 * Creates a Talk_Private resource. |
| 19 */ |
| 20 PP_Resource Create(PP_Instance instance); |
| 21 |
| 22 /** |
| 23 * Displays security UI. |
| 24 * |
| 25 * The callback will be issued with PP_OK as the result of the user gave |
| 26 * permission, or PP_ERROR_NOACCESS if the user denied. |
| 27 * |
| 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. |
| 31 */ |
| 32 int32_t GetPermission( |
| 33 [in] PP_Resource talk_resource, |
| 34 [in] PP_CompletionCallback callback); |
| 35 }; |
| OLD | NEW |